mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-12 20:35:54 +01:00
Fix errors
This commit is contained in:
@@ -107,14 +107,14 @@ function! s:vim_lsp_installer(ft, ...) abort
|
||||
endif
|
||||
|
||||
if type(l:default) ==# v:t_list
|
||||
if len(l:default) ># 0 && index(l:default, l:server.command) == -1
|
||||
if len(l:default) ># 0 && index(l:default, l:conf.command) == -1
|
||||
if !empty(l:name) && l:conf.command == l:name
|
||||
call lsp_settings#utils#warning(l:name . ' requested but is disabled by g:lsp_settings_filetype_' . a:ft)
|
||||
endif
|
||||
continue
|
||||
endif
|
||||
elseif type(l:default) ==# v:t_string
|
||||
if !empty(l:default) && l:default != l:server.command
|
||||
if !empty(l:default) && l:default != l:conf.command
|
||||
if !empty(l:name) && l:conf.command == l:name
|
||||
call lsp_settings#utils#warning(l:name . ' requested but is disabled by g:lsp_settings_filetype_' . a:ft)
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user