From 8c1e542ef0dd163e8b2ba0b2b6d69950bd270a0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 8 Nov 2022 14:40:20 +0800 Subject: add log --- script/provider/provider.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'script/provider/provider.lua') 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 } -- cgit v1.2.3