Questions tagged [lua-mode]

Emacs major mode for editing Lua code. Provides syntax highlighting, auto-indent, interactive Lua shell, paren and brace matching and more

Overview

lua-mode is an major mode for editing .

Installing / Updating

The preferred way of installation is via el-get or MELPA packages.

<M-x> el-get-install lua-mode

and updating is no more than

<M-x> el-get-update lua-mode

Features

lua-mode supports automatic code indentation and sending of lines/regions/files to a Lua interpreter. An interpreter will be started if you try to send some code and none is running. You can use the process-buffer as if it were an interactive shell.

Further Information / Useful Links

3 questions
19
votes
7 answers

How to configure indentation in emacs lua-mode?

Complete emacs newbie here. I'm using emacs 23.1.1 on Ubuntu with emacs starter kit. I primarily work in the lua-mode (installed with package-install lua-mode). I need to tune how indentation works, so it would match my coding guidelines. The…
Alexander Gladysh
  • 39,865
  • 32
  • 103
  • 160
2
votes
4 answers

Emacs lua-mode issue: (void-function interactively-called-p)

I'm trying to install lua-mode (version 20110428) for emacs 21.4.1 and am having problems. In my .emacs file I've got: (add-to-list 'load-path "~/.emacs.d/lua-mode/") ... (setq auto-mode-alist (cons '("\\.lua$" . lua-mode)…
akobre01
  • 777
  • 1
  • 10
  • 22
1
vote
3 answers

Plugin in Emacs

I'm trying to install lua-mode into emacs for windows but nothing seems to be working. I've set my HOME environment variable. I've added init.el and lua-mode.el to the HOME\.emacs.d directory. Then I've added the following code to init.el: (autoload…
Graham
  • 5,488
  • 13
  • 57
  • 92