diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-01 17:54:19 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-01 17:54:19 +0800 |
commit | d699b4cac83b81b023323076b74d3d03b6b13ee6 (patch) | |
tree | f5b22d0425e0e467a1604d43b4ed6b22b697c81e /script/vm/local-id.lua | |
parent | 231e4e3b2be6f815c1d6734185537f777ef32d88 (diff) | |
download | lua-language-server-d699b4cac83b81b023323076b74d3d03b6b13ee6.zip |
update
Diffstat (limited to 'script/vm/local-id.lua')
-rw-r--r-- | script/vm/local-id.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script/vm/local-id.lua b/script/vm/local-id.lua index 8d530beb..06e086c7 100644 --- a/script/vm/local-id.lua +++ b/script/vm/local-id.lua @@ -172,6 +172,7 @@ function m.getFields(source) for lid, sources in pairs(root._localIDs) do if lid ~= id and util.stringStartWith(lid, id) + and lid:sub(#id + 1, #id + 1) == m.ID_SPLITE -- only one field and not lid:find(m.ID_SPLITE, #id + 2) then for _, src in ipairs(sources) do |