Major emacs mode for editing brightscript files from Brightsign and Roku devices.
Features include syntax highlighting and indentation.
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))
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")
Indentation defaults to two spaces. Change brightscript-mode-indent-offset
to adjust this value:
(setq brightscript-mode-indent-offset 4)
This is free software, licensed under GPLv3.