diff options
Diffstat (limited to 'data/plugins/language_lua.lua')
| -rw-r--r-- | data/plugins/language_lua.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/plugins/language_lua.lua b/data/plugins/language_lua.lua index 01403ad3..193f344b 100644 --- a/data/plugins/language_lua.lua +++ b/data/plugins/language_lua.lua @@ -12,7 +12,7 @@ syntax.add { { pattern = { "'", "'", '\\' }, type = "string" }, { pattern = { "%[%[", "%]%]" }, type = "string" }, { pattern = { "%-%-%[%[", "%]%]"}, type = "comment" }, - { pattern = "%-%-.-\n", type = "comment" }, + { pattern = "%-%-.*$", type = "comment" }, { pattern = "0x%x+%.%x*[pP][-+]?%d+", type = "number" }, { pattern = "0x%x+%.%x*", type = "number" }, { pattern = "0x%.%x+[pP][-+]?%d+", type = "number" }, |
