Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: tracyone <[email protected]>
  • Loading branch information
tracyone committed Dec 16, 2021
1 parent a1a9f9d commit d26cf83
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion autoload/te/lsp.vim
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ function! te#lsp#is_server_running() abort
let l:ret = 0
let l:serve_name = lsp#get_allowed_servers()
for l:needle in l:serve_name
let l:ret += !empty(lsp#get_server_status(l:needle))
if stridx(lsp#get_server_status(l:needle), 'running') != -1
let l:ret += 1
endif
endfor
return l:ret
endif
Expand Down

0 comments on commit d26cf83

Please sign in to comment.