diff options
| author | 最萌小汐 <sumneko@hotmail.com> | 2020-09-07 18:29:17 +0800 |
|---|---|---|
| committer | 最萌小汐 <sumneko@hotmail.com> | 2020-09-07 18:29:17 +0800 |
| commit | a6f72712443e9c96e94d680e4bc394d89dffe577 (patch) | |
| tree | dc7c2b0283e5488d94e701f11cf5033db8e7783a /script-beta | |
| parent | 0422608832d81136e26ebffefa148ff09a34e3a7 (diff) | |
| download | lua-language-server-a6f72712443e9c96e94d680e4bc394d89dffe577.zip | |
修正eachField的bug
Diffstat (limited to 'script-beta')
| -rw-r--r-- | script-beta/parser/guide.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/script-beta/parser/guide.lua b/script-beta/parser/guide.lua index ec353083..75610670 100644 --- a/script-beta/parser/guide.lua +++ b/script-beta/parser/guide.lua @@ -1612,10 +1612,7 @@ function m.pushResult(status, mode, ref, simple) or ref.type == 'tableindex' then results[#results+1] = ref elseif ref.type == 'setglobal' - or ref.type == 'getglobal' - or ref.type == 'local' - or ref.type == 'setlocal' - or ref.type == 'getlocal' then + or ref.type == 'getglobal' then results[#results+1] = ref elseif ref.type == 'table' then results[#results+1] = ref |
