summaryrefslogtreecommitdiff
path: root/script/provider/diagnostic.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-12-30 19:46:03 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-12-30 19:46:03 +0800
commit76af92ca93ff4c9bf4b6fc62bbc49481a17ea044 (patch)
treeddd3f3ba07551c9b6ce5be4b74618bd47983c7db /script/provider/diagnostic.lua
parentb1c20a1f24cc7e17d446b2ac4e4118c36173dc20 (diff)
downloadlua-language-server-76af92ca93ff4c9bf4b6fc62bbc49481a17ea044.zip
update
Diffstat (limited to 'script/provider/diagnostic.lua')
-rw-r--r--script/provider/diagnostic.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/provider/diagnostic.lua b/script/provider/diagnostic.lua
index 1be7d626..75a9fdae 100644
--- a/script/provider/diagnostic.lua
+++ b/script/provider/diagnostic.lua
@@ -442,7 +442,7 @@ await.watch(function (ev, co) ---@async
end
end)
-config.watch(function (key, value, oldValue)
+config.watch(function (uri, key, value, oldValue)
if key:find 'Lua.diagnostics' then
if value ~= oldValue then
m.diagnosticsAll()