BSD Ports

devel/lua-mode 20210802_10 DragonFly

Minor mode for LUA

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2+
Categories
devel, elisp
Package size
28.0 KiB, 106.0 KiB installed

Description

lua-mode is an Emacs major mode for editing Lua files.

Main features:

  • syntactic indentation & highlighting (incl. multiline literals/comments)
  • evaluation of lines/regions/functions/files in Lua subprocess or direct interaction with its REPL
  • documentation lookup (using online/offline reference manual, e.g. string.find
  • imenu integration
  • HideShow integration

In the other systems

SystemPortVersion
DragonFlydevel/lua-mode20210802_10
FreeBSDdevel/lua-mode20210802_12
NetBSDdevel/lua-mode20210802nb1

Install

Binary package:

pkg install lua-mode

From DPorts:

cd /usr/dports/devel/lua-mode && make install clean

Dependencies

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
lua-mode-emacs_nox-20210802_10, lua-mode-emacs_canna-20210802_10, lua-mode-emacs_devel-20210802_10, lua-mode-emacs_wayland-20210802_10, lua-mode-emacs_devel_nox-20210802_10

Message after installing

You should add the following line to your ~/.emacs:

    (autoload 'lua-mode "lua-mode" "Lua editing mode." t)
    (add-to-list 'auto-mode-alist '("\\.lua$" . lua-mode))
    (add-to-list 'interpreter-mode-alist '("lua" . lua-mode))