summaryrefslogtreecommitdiff
path: root/server-beta/src/files.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server-beta/src/files.lua')
-rw-r--r--server-beta/src/files.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/server-beta/src/files.lua b/server-beta/src/files.lua
index 78610315..47078661 100644
--- a/server-beta/src/files.lua
+++ b/server-beta/src/files.lua
@@ -115,6 +115,9 @@ function m.remove(uri)
end
m.fileMap[uri] = nil
searcher.refreshCache()
+
+ local diagnostic = require 'service.diagnostic'
+ diagnostic.refresh()
end
--- 移除所有文件