summaryrefslogtreecommitdiff
path: root/script/provider/spell.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/provider/spell.lua')
-rw-r--r--script/provider/spell.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/script/provider/spell.lua b/script/provider/spell.lua
index 3909ddd2..6647bbad 100644
--- a/script/provider/spell.lua
+++ b/script/provider/spell.lua
@@ -50,10 +50,4 @@ function m.initDictionary()
pformatting.updateNonStandardSymbols(config.get(nil, "Lua.runtime.nonstandardSymbol"))
end
-config.watch(function (uri, key, value, oldValue)
- if key == 'Lua.spell.dict' and uri ~= nil then
- diagnostics.refresh(uri)
- end
-end)
-
return m