]> Sergey Matveev's repositories - vim-lsp.git/commitdiff
fix: gave ntf info msg when/if no lsp servers for cur buf
authorshane.xb.qian <shane.qian@foxmail.com>
Sun, 16 Apr 2023 02:41:38 +0000 (10:41 +0800)
committershane.xb.qian <shane.qian@foxmail.com>
Sun, 16 Apr 2023 19:21:37 +0000 (03:21 +0800)
Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
autoload/lsp/lsp.vim

index 5a332d612eb2fae93c2ef1b0ec6ac6b20d591656..2772ff533986458c847f0c8a5c4e5d596747c638 100644 (file)
@@ -179,6 +179,7 @@ def ShowServer(arg: string)
   var lspservers: list<dict<any>> = buf.CurbufGetServers()
 
   if lspservers->empty()
+    util.InfoMsg($'No Lsp servers found for this buf')
     return
   endif