summaryrefslogtreecommitdiff
path: root/syntaxes/lua.tmLanguage.json
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-05-18 12:09:13 +0800
committersumneko <sumneko@hotmail.com>2019-05-18 12:09:13 +0800
commit487775c59a30582694663742b66b5b35e04308c4 (patch)
treeadda35527aaa4f4971f68d8cdd9bfdd95523d8ee /syntaxes/lua.tmLanguage.json
parentda1a171007927b31b936ca6ba24b3ef3f0f0569f (diff)
downloadlua-language-server-487775c59a30582694663742b66b5b35e04308c4.zip
更新API着色
Diffstat (limited to 'syntaxes/lua.tmLanguage.json')
-rw-r--r--syntaxes/lua.tmLanguage.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/syntaxes/lua.tmLanguage.json b/syntaxes/lua.tmLanguage.json
index d4ad70cc..5d37d679 100644
--- a/syntaxes/lua.tmLanguage.json
+++ b/syntaxes/lua.tmLanguage.json
@@ -233,7 +233,7 @@
"name": "keyword.control.lua"
},
{
- "match": "(?<![^.]\\.|:)\\b(false|nil|true|_G|_VERSION|math\\.(pi|huge)|utf8\\.charpattern|io\\.(stdin|stdout|stderr)|package\\.(cpath|loaded|loaders|path|preload|searchers))\\b|(?<![.])\\.{3}(?!\\.)",
+ "match": "(?<![^.]\\.|:)\\b(false|nil|true|_G|_VERSION|math\\.(pi|huge)|utf8\\.charpattern|io\\.(stdin|stdout|stderr)|package\\.(config|cpath|loaded|loaders|path|preload|searchers))\\b|(?<![.])\\.{3}(?!\\.)",
"name": "constant.language.lua"
},
{
@@ -241,7 +241,7 @@
"name": "variable.language.self.lua"
},
{
- "match": "(?<![^.]\\.|:)\\b(assert|collectgarbage|dofile|error|getfenv|getmetatable|ipairs|loadfile|loadstring|module|next|pairs|pcall|print|rawequal|rawget|rawlen|rawset|require|select|setfenv|setmetatable|tonumber|tostring|type|unpack|xpcall)\\b(?!\\s*=(?!=))",
+ "match": "(?<![^.]\\.|:)\\b(assert|collectgarbage|dofile|error|getfenv|getmetatable|ipairs|load|loadfile|loadstring|module|next|pairs|pcall|print|rawequal|rawget|rawlen|rawset|require|select|setfenv|setmetatable|tonumber|tostring|type|unpack|xpcall)\\b(?!\\s*=(?!=))",
"name": "support.function.lua"
},
{