summaryrefslogtreecommitdiff
path: root/server-beta/src/files.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-11-08 14:25:00 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-11-08 14:25:00 +0800
commitd8c8c6ded148a8e130956b08010db3a0cda8585a (patch)
tree115ec85b2d498f0522d58899ef4eefa15e49286d /server-beta/src/files.lua
parent0a2df61286035af2bd506605547f6a5d5024c691 (diff)
downloadlua-language-server-d8c8c6ded148a8e130956b08010db3a0cda8585a.zip
优化诊断性能
Diffstat (limited to 'server-beta/src/files.lua')
-rw-r--r--server-beta/src/files.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server-beta/src/files.lua b/server-beta/src/files.lua
index c0aa5379..03a1589e 100644
--- a/server-beta/src/files.lua
+++ b/server-beta/src/files.lua
@@ -74,7 +74,7 @@ function m.setText(uri, text)
file.globals = nil
searcher.refreshCache()
- local diagnostic = require 'service.diagnostic'
+ local diagnostic = require 'provider.diagnostic'
diagnostic.refresh(originUri)
end