Check command exists

This commit is contained in:
Yasuhiro Matsumoto
2019-12-29 00:21:32 +09:00
parent c743c433a7
commit 38c4e67140

View File

@@ -184,7 +184,9 @@ function! s:vimlsp_load_or_suggest(ft) abort
endif
endif
delcommand LspRegisterServer
if !exists(':LspRegisterServer')
delcommand LspRegisterServer
endif
endfunction
function! s:load_or_suggest_group_name(ft) abort