]> Sergey Matveev's repositories - vim-lsp.git/commitdiff
adding err msg when/if reply no result
authorshane.xb.qian <shane.qian@foxmail.com>
Mon, 14 Nov 2022 15:30:30 +0000 (23:30 +0800)
committershane.xb.qian <shane.qian@foxmail.com>
Mon, 14 Nov 2022 15:30:30 +0000 (23:30 +0800)
autoload/lsp/lspserver.vim

index cc49c5ec8373e64be1bb9ef647af0321e8432193..0c3d4c12e1277fb64684c726a0d5250a08c56fd6 100644 (file)
@@ -612,6 +612,7 @@ def AsyncRpcCb(lspserver: dict<any>, method: string, RpcCb: func, chan: channel,
   endif
 
   if !reply->has_key('result')
+    util.ErrMsg($'Error(LSP): request {method} failed (no result or not yet somehow)')
     return
   endif