diff options
author | sumneko <sumneko@hotmail.com> | 2019-04-30 16:10:23 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-04-30 16:10:23 +0800 |
commit | cf97b3bf418d73894bb7849b6c02e40c753425bb (patch) | |
tree | 20d0db7fa1bc53226d900bad435f06ad721eb9ec | |
parent | f315a2b1f44a03ff864503dae48c4413d9954cc7 (diff) | |
download | lua-language-server-cf97b3bf418d73894bb7849b6c02e40c753425bb.zip |
先存个档
-rw-r--r-- | syntaxes/lua.tmLanguage.json | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/syntaxes/lua.tmLanguage.json b/syntaxes/lua.tmLanguage.json index 7f5c7024..247ee5ed 100644 --- a/syntaxes/lua.tmLanguage.json +++ b/syntaxes/lua.tmLanguage.json @@ -6,10 +6,10 @@ "begin": "\\b(?:(local)\\s+)?(function)\\b", "beginCaptures": { "1": { - "name": "storage.modifier.local.lua" + "name": "keyword.local.lua" }, "2": { - "name": "storage.modifier.function.lua" + "name": "keyword.control.lua" } }, "end": "(?=(\\()(?:[^\\)]*)(\\)))", @@ -209,11 +209,11 @@ }, { "match": "\\b(local(\\s*\\*toclose)?)\\b", - "name": "storage.modifier.local" + "name": "keyword.local.lua" }, { "match": "\\b(function)\\b", - "name": "storage.modifier.function" + "name": "keyword.control.lua" }, { "match": "(?<![^.]\\.|:)\\b(false|nil|true|_G|_VERSION|math\\.(pi|huge)|utf8\\.charpattern|io\\.(stdin|stdout|stderr)|package\\.(cpath|loaded|path|preload|searchers))\\b|(?<![.])\\.{3}(?!\\.)", |