summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorOmentaElvis <omentaelvis@gmail.com>2024-08-15 01:51:49 +0300
committer最萌小汐 <sumneko@hotmail.com>2024-08-15 12:58:05 +0800
commitd6d3d4b96b249310552ef6081dc35a401a219239 (patch)
tree06fb0e7ded92b09139db7b8a4a77b429f01a6f21 /script
parent01c6b6136da46573a4c2a1e581e35ca21d4f9b1e (diff)
downloadlua-language-server-d6d3d4b96b249310552ef6081dc35a401a219239.zip
FIX: Changed hello param to valid JSONRPC
The previous hello jsonrpc message caused sadness since it caused lsp clients to exit as it was not a correct way to say hello.
Diffstat (limited to 'script')
-rw-r--r--script/service/service.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/service/service.lua b/script/service/service.lua
index 3fad865a..c7675f1b 100644
--- a/script/service/service.lua
+++ b/script/service/service.lua
@@ -250,7 +250,7 @@ function m.testVersion()
end
function m.sayHello()
- proto.notify('$/hello', 'world')
+ proto.notify('$/hello', {'world'})
end
function m.lockCache()