diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-11-08 14:40:20 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-11-08 14:40:20 +0800 |
commit | 8c1e542ef0dd163e8b2ba0b2b6d69950bd270a0b (patch) | |
tree | 6a84bf4c1dd166503c0c33b58e98eb456ab224b1 /script/provider/provider.lua | |
parent | 110c4105a374858aeae71749c26b81cfab1ccd0a (diff) | |
download | lua-language-server-8c1e542ef0dd163e8b2ba0b2b6d69950bd270a0b.zip |
add log
Diffstat (limited to 'script/provider/provider.lua')
-rw-r--r-- | script/provider/provider.lua | 4 |
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 } |