summaryrefslogtreecommitdiff
path: root/script/provider
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-12-17 03:47:53 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-12-17 03:47:53 +0800
commit7075ca19746addabc66296518a1eeafca8144723 (patch)
tree17b070aab64d6f1e07ba26024a66eb959c9c9f11 /script/provider
parentc3b468fd4a6d745c77340eb71c0950d221a6c4ba (diff)
downloadlua-language-server-7075ca19746addabc66296518a1eeafca8144723.zip
update filewatch
Diffstat (limited to 'script/provider')
-rw-r--r--script/provider/provider.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua
index ea02579c..d19e0040 100644
--- a/script/provider/provider.lua
+++ b/script/provider/provider.lua
@@ -36,7 +36,7 @@ function m.updateConfig(uri)
log.info('Load config from specified', CONFIGPATH)
log.info(inspect(specified))
-- watch directory
- filewatch.watch(workspace.getAbsolutePath(uri, CONFIGPATH):gsub('[^/\\]+$', ''))
+ filewatch.watch(workspace.getAbsolutePath(uri, CONFIGPATH):gsub('[^/\\]+$', ''), false)
config.update(scope.override, specified)
end