diff options
Diffstat (limited to 'server/src/method/workspace/didChangeConfiguration.lua')
-rw-r--r-- | server/src/method/workspace/didChangeConfiguration.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/method/workspace/didChangeConfiguration.lua b/server/src/method/workspace/didChangeConfiguration.lua index dd1f84ff..67737eec 100644 --- a/server/src/method/workspace/didChangeConfiguration.lua +++ b/server/src/method/workspace/didChangeConfiguration.lua @@ -53,6 +53,9 @@ return function (lsp) local oldConfig = copyTable(config.config) config:setConfig(configs[1]) local newConfig = config.config + if not eq(oldConfig.runtime, newConfig.runtime) then + lsp:reCompile() + end if not eq(oldConfig.diagnostics, newConfig.diagnostics) then log.debug('reDiagnostic') lsp:reDiagnostic() |