diff options
author | sumneko <sumneko@hotmail.com> | 2019-06-04 12:28:01 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-06-04 12:28:01 +0800 |
commit | dc62a6a097f3c591c0f463d2be3712966beb1529 (patch) | |
tree | 50d4aef83dca8c015b391b8fb9f6c88d0517e165 /syntaxes | |
parent | 05fa89e649afd3a5f2f77033ac2b7315415df4d8 (diff) | |
download | lua-language-server-dc62a6a097f3c591c0f463d2be3712966beb1529.zip |
还是枚举符号吧
Diffstat (limited to 'syntaxes')
-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 904b38ed..2e8d1f4f 100644 --- a/syntaxes/lua.tmLanguage.json +++ b/syntaxes/lua.tmLanguage.json @@ -12,7 +12,7 @@ "name": "keyword.control.lua" } }, - "end": "(?=\\)|,|{|\\b(break|do|else|for|if|elseif|goto|return|then|repeat|while|until|end|in|local|function)\\b)", + "end": "(?=[\\)\\-\\.:{}\\[\\]\"'])", "name": "meta.function.lua", "patterns": [ { @@ -25,7 +25,7 @@ "name": "punctuation.definition.parameters.begin.lua" } }, - "end": "(?=\\))|(?!.)", + "end": "(?=[\\)\\-\\.:{}\\[\\]\"'])", "endCaptures": { "1": { "name": "punctuation.definition.parameters.finish.lua" |