mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-12 20:35:54 +01:00
Fix #50 : filetype always lower-case work
This commit is contained in:
@@ -33,7 +33,7 @@ function! s:executable(cmd) abort
|
||||
endfunction
|
||||
|
||||
function! s:vimlsp_installer() abort
|
||||
let l:ft = split(&filetype, '\.')[0]
|
||||
let l:ft = tolower(split(&filetype, '\.')[0])
|
||||
if !has_key(s:settings, l:ft)
|
||||
return []
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user