[TxMt] Lua Bundle plist changes

Tom Wieland tom.wieland at gmail.com
Tue Dec 4 01:38:02 UTC 2007


Hello,

I have made a small edit to the Lua plist file.

Currently the Lua bundle does not recognize "local function foo ()" as
the beginning of a fold. In Lua, "function foo() end" is actually
syntactic sugar for "foo = function() end", thus functions can be made
local with "local function foo ()".
I have edited the plist file so that it recognizes "local function" as
a fold start, however because I am new to Textmate I don't know how to
match whitespace characters. The space should probably be matched with
that instead.

greetings,

Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lua.tmbundle.patch
Type: application/octet-stream
Size: 487 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20071204/d3a1f755/attachment.patch>


More information about the textmate mailing list