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

View file

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