Skip to content

Major emacs mode for the BrightScript programming language used by BrightSign and Roku devices

License

Notifications You must be signed in to change notification settings

viseztrance/brightscript-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Major emacs mode for the BrightScript programming language used by BrightSign and Roku devices

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published