lcb-mode
makes editing LiveCode Builder modules, libraries and
widgets in Emacs a pleasurable experience. It requires Emacs 24 (or
newer).
To install manually, check out this repository and add the following
to your .emacs
file:
(add-to-list 'load-path "/path/to/lcb-mode")
(autoload 'lcb-mode "lcb-mode" nil t)
(add-to-list 'auto-mode-alist '("\\.rs\\'" . lcb-mode))
This associates lcb-mode
with .lcb
files. To enable it
explicitly, do M-x lcb-mode.
It may be considerably easier to use Emacs' package manager to install
lcb-mode
for you. If you haven't already added MELPA, the community
package source, add this to your .emacs
file:
(require 'package)
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/") t)
(package-initialize)
Once you've done this, you can load the package listing with:
- M-x eval-buffer
- M-x package-refresh-contents
Once MELPA has been added, you there are two ways to install lcb-mode
:
- choosing it from the package list, accessible with M-x package-list-packages
- M-x package-install lcb-mode
Please report any problems to the GitHub issue tracker.
lcb-mode
is distributed under the terms of the GNU General Public
License version 3 (GPLv3).
See the LICENSE file for details.