Fixed lua's multi-line comment syntax pattern

Resolves #86
Resolves #87
This commit is contained in:
rxi 2020-05-12 10:12:49 +01:00
parent ff2c7bf5e5
commit 23cf193026
1 changed files with 1 additions and 1 deletions

View File

@ -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" },