diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-06-08 14:33:01 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-06-08 14:33:01 +0800 |
commit | 8cc8789fbff920f631859e8f9eba75e2448aa8c1 (patch) | |
tree | 54c53f5beaf1c7036685119fe6db87097712f131 /script/core/diagnostics/duplicate-set-field.lua | |
parent | 5f1f6a330b0c2f745ddc5549a532b8a0d3da890e (diff) | |
download | lua-language-server-8cc8789fbff920f631859e8f9eba75e2448aa8c1.zip |
update
Diffstat (limited to 'script/core/diagnostics/duplicate-set-field.lua')
-rw-r--r-- | script/core/diagnostics/duplicate-set-field.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/diagnostics/duplicate-set-field.lua b/script/core/diagnostics/duplicate-set-field.lua index 7b1718ec..e1883fe5 100644 --- a/script/core/diagnostics/duplicate-set-field.lua +++ b/script/core/diagnostics/duplicate-set-field.lua @@ -47,7 +47,7 @@ return function (uri, callback) end local blocks = {} for _, value in ipairs(values) do - local block = searcher.getBlock(value) + local block = guide.getBlock(value) if not blocks[block] then blocks[block] = {} end |