support [[]] strings

--HG--
branch : pmacs2
This commit is contained in:
Erik Osheim 2014-09-15 23:51:38 -04:00
parent 153b203510
commit baacddfa88
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ class LuaGrammar(Grammar):
RegionRule('lua.string', "'", StringGrammar1, "'"), RegionRule('lua.string', "'", StringGrammar1, "'"),
RegionRule('lua.string', '"', StringGrammar2, '"'), RegionRule('lua.string', '"', StringGrammar2, '"'),
RegionRule('lua.string', '\[\[', Grammar, '\]\]'),
PatternMatchRule('x', '(function)( +)(' + word + ')', PatternMatchRule('x', '(function)( +)(' + word + ')',
'lua.keyword', 'spaces', 'lua.function'), 'lua.keyword', 'spaces', 'lua.function'),