viseztrance / brightscript-mode

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:GNU General Public License v3.0


Languages

Language:Emacs Lisp 100.0%