diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-10-08 17:21:49 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-10-08 17:21:49 +0800 |
commit | 1d9b29d67ddf856fcc5d30a1392a7b8c410b13ef (patch) | |
tree | 234b0b8eeec24293b1181804b8ec5ce8bee42e59 | |
parent | 3f67e99f2deec62ab43791d7869f7000c043aeb1 (diff) | |
download | lua-language-server-1d9b29d67ddf856fcc5d30a1392a7b8c410b13ef.zip |
暂且写死吧
-rw-r--r-- | syntaxes/lua.tmLanguage.json | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/syntaxes/lua.tmLanguage.json b/syntaxes/lua.tmLanguage.json index 044476f4..4bf26842 100644 --- a/syntaxes/lua.tmLanguage.json +++ b/syntaxes/lua.tmLanguage.json @@ -197,21 +197,12 @@ "name": "keyword.local.lua" }, { - "begin": "(?<=local)", - "end": "(?=[a-zA-Z_=])", - "patterns": [ - { - "include": "#comment" - }, - { - "match": "<\\s*([a-zA-Z_][a-zA-Z0-9_]*)", - "captures": { - "1": { - "name": "string.tag.lua" - } - } + "match": "<\\s*(const|close)\\s*\\>", + "captures": { + "1": { + "name": "string.tag.lua" } - ] + } }, { "match": "\\b(function)\\b", |