summaryrefslogtreecommitdiff
path: root/script/provider/provider.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/provider/provider.lua')
-rw-r--r--script/provider/provider.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua
index c71b14fa..6512f1e7 100644
--- a/script/provider/provider.lua
+++ b/script/provider/provider.lua
@@ -54,6 +54,7 @@ local function updateConfig()
if not util.equal(oldConfig.runtime, newConfig.runtime) then
library.init()
workspace.reload()
+ semantic.refresh()
end
if not util.equal(oldConfig.diagnostics, newConfig.diagnostics) then
diagnostics.diagnosticsAll()
@@ -66,6 +67,7 @@ local function updateConfig()
or not util.equal(oldOther.exclude, newOther.exclude)
then
workspace.reload()
+ semantic.refresh()
end
if not util.equal(oldConfig.intelliSense, newConfig.intelliSense) then
files.flushCache()