diff options
author | OmentaElvis <omentaelvis@gmail.com> | 2024-08-15 01:51:49 +0300 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2024-08-15 12:58:05 +0800 |
commit | d6d3d4b96b249310552ef6081dc35a401a219239 (patch) | |
tree | 06fb0e7ded92b09139db7b8a4a77b429f01a6f21 | |
parent | 01c6b6136da46573a4c2a1e581e35ca21d4f9b1e (diff) | |
download | lua-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.
-rw-r--r-- | script/service/service.lua | 2 |
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() |