lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi!

I've tweaked Christian Vogler's lua-mode.el a bit, from the
2001/07/08 version I found on the Wiki (I couldn't find a
more recent version).

It adds highlighting of multi-line --[[]] comments, 'true'
and 'false' keywords, and local function definition names (not
just non-local function names).

It also more-or-less fixes the indenting of local function
blocks so that the bodies are indented relative to the 'local'
instead of the 'function', i.e.:

local function foo()
   bar
   baz
end

Instead of:

local function foo()
         bar
         baz
      end

If anyone wants a copy and/or is maintaining lua-mode.el then
let me know.

Regards,
--Adam
-- 
Adam D. Moss   . ,,^^   adam@gimp.org   http://www.foxbox.org/   co:3