summaryrefslogtreecommitdiff
path: root/server/src/service.lua
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-05-08 16:51:55 +0800
committersumneko <sumneko@hotmail.com>2019-05-08 16:51:55 +0800
commitc5cdfa647574c38916c61930acf56469372d139f (patch)
tree2f047e9f9edb1891c187c460742715c3ddc29c90 /server/src/service.lua
parent2bdcabc48557e6b968df7ae88cafe8d318c44a1d (diff)
downloadlua-language-server-c5cdfa647574c38916c61930acf56469372d139f.zip
#28 排除目录也使用 files.exclude
Diffstat (limited to 'server/src/service.lua')
-rw-r--r--server/src/service.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/service.lua b/server/src/service.lua
index 639f6cc2..f71494fc 100644
--- a/server/src/service.lua
+++ b/server/src/service.lua
@@ -704,6 +704,7 @@ function mt:onUpdateConfig(updated, other)
end
if not table.equal(oldConfig.workspace, newConfig.workspace)
or not table.equal(oldOther.associations, newOther.associations)
+ or not table.equal(oldOther.exclude, newOther.exclude)
then
self:clearAllFiles()
if self.workspace then