summaryrefslogtreecommitdiff
path: root/script/config
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-05 23:53:29 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-05 23:53:29 +0800
commitf2db41df39000bc3ca0c93e0d2ac8b8fafaf4d57 (patch)
tree46bfa6408497141dea719f5a9648da2abaef21b1 /script/config
parentc0cf9ae2835f9a19fe6a9af743ddd24be7c3a123 (diff)
downloadlua-language-server-f2db41df39000bc3ca0c93e0d2ac8b8fafaf4d57.zip
#1018 add `inspect.lua`
Diffstat (limited to 'script/config')
-rw-r--r--script/config/loader.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/config/loader.lua b/script/config/loader.lua
index c0bd66d7..c53f9399 100644
--- a/script/config/loader.lua
+++ b/script/config/loader.lua
@@ -4,6 +4,7 @@ local lang = require 'language'
local util = require 'utility'
local workspace = require 'workspace'
local scope = require 'workspace.scope'
+local inspect = require 'inspect'
local function errorMessage(msg)
proto.notify('window/showMessage', {
@@ -105,7 +106,7 @@ function m.loadClientConfig(uri)
},
})
if not configs or not configs[1] then
- log.warn('No config?', util.dump(configs))
+ log.warn('No config?', inspect(configs))
return nil
end