summaryrefslogtreecommitdiff
path: root/script/provider
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-11-08 14:40:20 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-11-08 14:40:20 +0800
commit8c1e542ef0dd163e8b2ba0b2b6d69950bd270a0b (patch)
tree6a84bf4c1dd166503c0c33b58e98eb456ab224b1 /script/provider
parent110c4105a374858aeae71749c26b81cfab1ccd0a (diff)
downloadlua-language-server-8c1e542ef0dd163e8b2ba0b2b6d69950bd270a0b.zip
add log
Diffstat (limited to 'script/provider')
-rw-r--r--script/provider/provider.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua
index aaaf5595..ecfaeb62 100644
--- a/script/provider/provider.lua
+++ b/script/provider/provider.lua
@@ -119,12 +119,14 @@ m.register 'initialize' {
workspace.create(params.rootUri)
end
- return {
+ local response = {
capabilities = cap.getProvider(),
serverInfo = {
name = 'sumneko.lua',
},
}
+ log.debug('Server init', inspect(response))
+ return response
end
}