Changed lua syntax to map label to function color

This commit is contained in:
rxi 2020-04-21 22:56:27 +01:00
parent de9bdc43fb
commit b0e82f297e
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ syntax.add {
{ pattern = "[%+%-=/%*%^%%#<>]", type = "operator" }, { pattern = "[%+%-=/%*%^%%#<>]", type = "operator" },
{ pattern = "[%a_][%w_]*%s*%f[(\"{]", type = "function" }, { pattern = "[%a_][%w_]*%s*%f[(\"{]", type = "function" },
{ pattern = "[%a_][%w_]*", type = "symbol" }, { pattern = "[%a_][%w_]*", type = "symbol" },
{ pattern = "::[%a_][%w_]*::", type = "literal" }, { pattern = "::[%a_][%w_]*::", type = "function" },
}, },
symbols = { symbols = {
["if"] = "keyword", ["if"] = "keyword",