Fix #50 : filetype always lower-case work

This commit is contained in:
Tsuyoshi CHO
2019-12-31 21:14:09 +09:00
parent 796a6b950a
commit 89b8763c04

View File

@@ -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