diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-15 18:35:56 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-15 18:36:33 +0800 |
commit | 54e6260b2ac36c4653a30ed5ab5e17d3e7f0abd9 (patch) | |
tree | 33b7e73feb95c8a4f810d9c5680ea4e3d0f54ec6 /script/parser | |
parent | 251f743d8c78b2de2bad2e77657dc35bd6733d67 (diff) | |
download | lua-language-server-54e6260b2ac36c4653a30ed5ab5e17d3e7f0abd9.zip |
improve performance
Diffstat (limited to 'script/parser')
-rw-r--r-- | script/parser/guide.lua | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua index c0f33c28..884a5271 100644 --- a/script/parser/guide.lua +++ b/script/parser/guide.lua @@ -966,8 +966,6 @@ function m.getKeyName(obj) return obj[1] elseif tp == 'doc.type.field' then return obj.name[1] - elseif tp == 'dummy' then - return obj[1] end return m.getKeyNameOfLiteral(obj) end |