summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-07-05 14:10:24 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-07-05 14:10:24 +0800
commitd086077b0ecd351319504f3e0fcef9912c4fedb4 (patch)
treefcebd5a8d00c67db90f86a4c2f42c3c8138ddea0
parentf732640c8b1aa71c1b5d543c0ded8f6150abbde1 (diff)
downloadlua-language-server-d086077b0ecd351319504f3e0fcef9912c4fedb4.zip
update log
-rw-r--r--script/provider/provider.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua
index ac952715..f10fb66e 100644
--- a/script/provider/provider.lua
+++ b/script/provider/provider.lua
@@ -28,7 +28,7 @@ local function updateConfig(uri)
local specified = cfgLoader.loadLocalConfig(uri, CONFIGPATH)
if specified then
log.info('Load config from specified', CONFIGPATH)
- log.debug(inspect(specified))
+ log.info(inspect(specified))
-- watch directory
filewatch.watch(workspace.getAbsolutePath(uri, CONFIGPATH):gsub('[^/\\]+$', ''))
config.update(scope.override, specified)
@@ -38,14 +38,14 @@ local function updateConfig(uri)
local clientConfig = cfgLoader.loadClientConfig(folder.uri)
if clientConfig then
log.info('Load config from client', folder.uri)
- log.debug(inspect(clientConfig))
+ log.info(inspect(clientConfig))
end
local rc = cfgLoader.loadRCConfig(folder.uri, '.luarc.json')
or cfgLoader.loadRCConfig(folder.uri, '.luarc.jsonc')
if rc then
log.info('Load config from .luarc.json/.luarc.jsonc', folder.uri)
- log.debug(inspect(rc))
+ log.info(inspect(rc))
end
config.update(folder, clientConfig, rc)
@@ -53,7 +53,7 @@ local function updateConfig(uri)
local global = cfgLoader.loadClientConfig()
log.info('Load config from client', 'fallback')
- log.debug(inspect(global))
+ log.info(inspect(global))
config.update(scope.fallback, global)
end