summaryrefslogtreecommitdiff
path: root/server/src/method/workspace/didChangeConfiguration.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-03-27 09:56:16 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-03-27 09:56:16 +0800
commitb99a2b5fc819d2a519f6bae52b8fbd8babf834d4 (patch)
tree0bfb93f9ffee15d05eb4a5880d16a83836ecb820 /server/src/method/workspace/didChangeConfiguration.lua
parentbd4447c9128af36c14d786af2626c370f543c1d0 (diff)
downloadlua-language-server-b99a2b5fc819d2a519f6bae52b8fbd8babf834d4.zip
寻找定义等待编译
Diffstat (limited to 'server/src/method/workspace/didChangeConfiguration.lua')
-rw-r--r--server/src/method/workspace/didChangeConfiguration.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/method/workspace/didChangeConfiguration.lua b/server/src/method/workspace/didChangeConfiguration.lua
index 7a00676d..dd1f84ff 100644
--- a/server/src/method/workspace/didChangeConfiguration.lua
+++ b/server/src/method/workspace/didChangeConfiguration.lua
@@ -58,7 +58,7 @@ return function (lsp)
lsp:reDiagnostic()
end
if not eq(oldConfig.workspace, newConfig.workspace) then
- lsp:ClearAllFiles()
+ lsp:clearAllFiles()
lsp.workspace:scanFiles()
end
end)