summaryrefslogtreecommitdiff
path: root/script/core/diagnostics/duplicate-set-field.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-06-08 14:33:01 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-06-08 14:33:01 +0800
commit8cc8789fbff920f631859e8f9eba75e2448aa8c1 (patch)
tree54c53f5beaf1c7036685119fe6db87097712f131 /script/core/diagnostics/duplicate-set-field.lua
parent5f1f6a330b0c2f745ddc5549a532b8a0d3da890e (diff)
downloadlua-language-server-8cc8789fbff920f631859e8f9eba75e2448aa8c1.zip
update
Diffstat (limited to 'script/core/diagnostics/duplicate-set-field.lua')
-rw-r--r--script/core/diagnostics/duplicate-set-field.lua2
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