aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorTsuyoshi CHO <Tsuyoshi.CHO@Gmail.com>2019-12-31 21:14:09 +0900
committerTsuyoshi CHO <Tsuyoshi.CHO@Gmail.com>2019-12-31 21:14:09 +0900
commit89b8763c04737c20731db025df3fd4efa63454d3 (patch)
tree2c12a0ad4508b840eff28671ea56987ccb358bb1 /plugin
parent796a6b950a3c520ec24139836135c35364cf941d (diff)
downloadvim-lsp-settings-89b8763c04737c20731db025df3fd4efa63454d3.tar.gz
vim-lsp-settings-89b8763c04737c20731db025df3fd4efa63454d3.tar.bz2
vim-lsp-settings-89b8763c04737c20731db025df3fd4efa63454d3.zip
Fix #50 : filetype always lower-case work
Diffstat (limited to 'plugin')
-rw-r--r--plugin/lsp_settings.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/lsp_settings.vim b/plugin/lsp_settings.vim
index 51aae02..a92daa5 100644
--- a/plugin/lsp_settings.vim
+++ b/plugin/lsp_settings.vim
@@ -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