summaryrefslogtreecommitdiff
path: root/script/provider
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2021-11-27 18:34:11 +0800
committersumneko <sumneko@hotmail.com>2021-11-27 18:34:11 +0800
commitc257b0295b5f21350f8d22d1196569f69c0991b6 (patch)
tree8f940e26ba255d2abb97fc59f75112341e4c1f98 /script/provider
parent08b963cfe8ffea36529b58d56708492aad04d254 (diff)
downloadlua-language-server-c257b0295b5f21350f8d22d1196569f69c0991b6.zip
update config
Diffstat (limited to 'script/provider')
-rw-r--r--script/provider/provider.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua
index 8d945696..3ca177b6 100644
--- a/script/provider/provider.lua
+++ b/script/provider/provider.lua
@@ -27,8 +27,6 @@ local function updateConfig()
-- watch directory
filewatch.watch(workspace.getAbsolutePath(CONFIGPATH):gsub('[^/\\]+$', ''))
config.update(scope.override, specified, json.null)
- else
- config.update(scope.override, {}, json.null)
end
for _, folder in ipairs(scope.folders) do