From baacddfa88b2b4dd67f2032a7cbff0113283c03f Mon Sep 17 00:00:00 2001 From: Erik Osheim Date: Mon, 15 Sep 2014 23:51:38 -0400 Subject: [PATCH] support [[]] strings --HG-- branch : pmacs2 --- mode/lua.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mode/lua.py b/mode/lua.py index 93df2e5..6db8474 100644 --- a/mode/lua.py +++ b/mode/lua.py @@ -22,6 +22,7 @@ class LuaGrammar(Grammar): RegionRule('lua.string', "'", StringGrammar1, "'"), RegionRule('lua.string', '"', StringGrammar2, '"'), + RegionRule('lua.string', '\[\[', Grammar, '\]\]'), PatternMatchRule('x', '(function)( +)(' + word + ')', 'lua.keyword', 'spaces', 'lua.function'),