diff --git a/data/plugins/language_lua.lua b/data/plugins/language_lua.lua index bf5b64d..79e2fce 100644 --- a/data/plugins/language_lua.lua +++ b/data/plugins/language_lua.lua @@ -7,7 +7,7 @@ syntax.add { { pattern = { '"', '"', '\\' }, type = "string" }, { pattern = { "'", "'", '\\' }, type = "string" }, { pattern = { "%[%[", "%]%]" }, type = "string" }, - { pattern = { "--%[%[", "%]%]"}, type = "comment" }, + { pattern = { "%-%-%[%[", "%]%]"}, type = "comment" }, { pattern = "%-%-.-\n", type = "comment" }, { pattern = "-?0x%x+", type = "number" }, { pattern = "-?%d+[%d%.eE]*", type = "number" },