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
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.