mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-12 20:35:54 +01:00
Fix completion
This commit is contained in:
@@ -42,7 +42,8 @@ function! s:executable(cmd) abort
|
||||
endfunction
|
||||
|
||||
function! s:vim_lsp_installer(ft, ...) abort
|
||||
let l:ft = tolower(split(a:ft, '\.')[0])
|
||||
let l:ft = tolower(get(split(a:ft, '\.'), 0, ''))
|
||||
let l:ft = empty(l:ft) ? '_' : l:ft
|
||||
if !has_key(s:settings, l:ft)
|
||||
return []
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user