summaryrefslogtreecommitdiff
path: root/script/provider
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-11-26 18:14:38 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-11-26 18:14:38 +0800
commit999316d43551dabfe8fadafa017332e840099f90 (patch)
tree79d00092c1b5e24c6eaaa712544d59c9b9cf10cb /script/provider
parent5ec8ad22d27051507c55d49d6144f08132976215 (diff)
downloadlua-language-server-999316d43551dabfe8fadafa017332e840099f90.zip
stash
Diffstat (limited to 'script/provider')
-rw-r--r--script/provider/provider.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua
index 0991b690..44b63d00 100644
--- a/script/provider/provider.lua
+++ b/script/provider/provider.lua
@@ -35,7 +35,6 @@ local function updateConfig()
-- watch directory
filewatch.watch(workspace.getAbsolutePath(CONFIGPATH):gsub('[^/\\]+$', ''))
mergeConfig(baseConfig, cfg)
-
end
local rc = cfgLoader.loadRCConfig('.luarc.json')
@@ -56,7 +55,7 @@ local function updateConfig()
end
end
- config.update(workspace.rootUri,baseConfig)
+ config.update('global', workspace.rootUri,baseConfig)
log.debug('loaded config dump:', util.dump(baseConfig))
end