Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1021 Bytes

README.md

File metadata and controls

43 lines (27 loc) · 1021 Bytes

Brightscript mode for Emacs

MELPA

Major emacs mode for editing brightscript files from Brightsign and Roku devices.

Features include syntax highlighting and indentation.

Preview

Installation

The package is available on MELPA. Run the following to set it up:

M-x package-install brightscript-mode

Then add the following lines to your emacs init file:

(require 'brightscript-mode)
(add-to-list 'auto-mode-alist '("\\.brs\\'" . brightscript-mode))

Manual installation

Clone this repo or download "brightscript-mode.el" and then reference it in your config file:

(add-to-list 'load-path "/path/to/brightscript-mode.el")

Configuration

Indentation defaults to two spaces. Change brightscript-mode-indent-offset to adjust this value:

(setq brightscript-mode-indent-offset 4)

License

This is free software, licensed under GPLv3.