diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-09-28 01:25:24 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-09-28 01:25:24 +0800 |
commit | 3252e1f4820bbbe6568c3be09fd6fa6dc436adde (patch) | |
tree | d738b45188f5e4562f3b5e0bd68f891d1ee7b851 /script-beta/vm/eachField.lua | |
parent | a1b4ef2fe432f5f52aa26c2687b068b012b163d3 (diff) | |
download | lua-language-server-3252e1f4820bbbe6568c3be09fd6fa6dc436adde.zip |
修正一些bug
Diffstat (limited to 'script-beta/vm/eachField.lua')
-rw-r--r-- | script-beta/vm/eachField.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/script-beta/vm/eachField.lua b/script-beta/vm/eachField.lua index d724f56d..b49abcad 100644 --- a/script-beta/vm/eachField.lua +++ b/script-beta/vm/eachField.lua @@ -8,7 +8,9 @@ local function eachFieldInLibrary(source, lib, results) return end for _, value in pairs(lib.child) do - results[#results+1] = value + if value.name:sub(1, 1) ~= '@' then + results[#results+1] = value + end end end |