]> Sergey Matveev's repositories - vim-lsp.git/commitdiff
rename serverStatus to serverRunning
authorshane.xb.qian <shane.qian@foxmail.com>
Wed, 26 Oct 2022 22:06:19 +0000 (06:06 +0800)
committershane.xb.qian <shane.qian@foxmail.com>
Wed, 26 Oct 2022 22:06:19 +0000 (06:06 +0800)
autoload/lsp/lsp.vim
plugin/lsp.vim

index 9442717a04679dfdc14bfbd3c99ebfc1f7f3f268..79f59e396df9f622b59ae44f4b69266ef9a0eddb 100644 (file)
@@ -111,9 +111,9 @@ export def ShowServers()
   endfor
 enddef
 
-# Get LSP server status for filetype 'ftype'
+# Get LSP server running status for filetype 'ftype'
 # Return true if running, or false if not found or not running
-export def ServerStatus(ftype: string): bool
+export def ServerRunning(ftype: string): bool
   for [ft, lspserver] in ftypeServerMap->items()
     if ftype ==# ft
       return lspserver.running
index 64da174a76c5dd719d6baa0cfa1b6d92d54c48ae..635328cd72260813a5f229edaf3b7656fe7bc7a8 100644 (file)
@@ -26,8 +26,8 @@ def g:LspServerReady(): bool
   return lsp.ServerReady()
 enddef
 
-def g:LspServerStatus(ftype: string): bool
-  return lsp.ServerStatus(ftype)
+def g:LspServerRunning(ftype: string): bool
+  return lsp.ServerRunning(ftype)
 enddef
 
 # Command line completion function for the LspSetTrace command.