diff options
author | sumneko <sumneko@hotmail.com> | 2019-05-18 12:09:13 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-05-18 12:09:13 +0800 |
commit | 487775c59a30582694663742b66b5b35e04308c4 (patch) | |
tree | adda35527aaa4f4971f68d8cdd9bfdd95523d8ee | |
parent | da1a171007927b31b936ca6ba24b3ef3f0f0569f (diff) | |
download | lua-language-server-487775c59a30582694663742b66b5b35e04308c4.zip |
更新API着色
-rw-r--r-- | syntaxes/lua.tmLanguage.json | 4 |
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" }, { |