summaryrefslogtreecommitdiff
path: root/script/workspace
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/workspace
parentc0cf9ae2835f9a19fe6a9af743ddd24be7c3a123 (diff)
downloadlua-language-server-f2db41df39000bc3ca0c93e0d2ac8b8fafaf4d57.zip
#1018 add `inspect.lua`
Diffstat (limited to 'script/workspace')
-rw-r--r--script/workspace/workspace.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua
index c0385085..91923bb8 100644
--- a/script/workspace/workspace.lua
+++ b/script/workspace/workspace.lua
@@ -12,6 +12,7 @@ local util = require 'utility'
local fw = require 'filewatch'
local scope = require 'workspace.scope'
local loading = require 'workspace.loading'
+local inspect = require 'inspect'
---@class workspace
local m = {}
@@ -202,7 +203,7 @@ function m.getLibraryMatchers(scp)
end
scp:set('libraryMatcher', matchers)
- log.debug('library matcher:', util.dump(matchers))
+ log.debug('library matcher:', inspect(matchers))
return matchers
end