aboutsummaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-31 18:00:33 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-31 18:00:33 +0900
commit6e645f09027a512a38454ae11716e5feb165f32e (patch)
treee655df550a7ad7aa3f3294007ebc2580069e75ea /autoload
parentbc2e42cc6cab19bd17e1ef8604422e05c33009f3 (diff)
downloadvim-lsp-settings-6e645f09027a512a38454ae11716e5feb165f32e.tar.gz
vim-lsp-settings-6e645f09027a512a38454ae11716e5feb165f32e.tar.bz2
vim-lsp-settings-6e645f09027a512a38454ae11716e5feb165f32e.zip
Add test
Diffstat (limited to 'autoload')
-rw-r--r--autoload/lsp_settings.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/lsp_settings.vim b/autoload/lsp_settings.vim
index 07feb8b..9762f6b 100644
--- a/autoload/lsp_settings.vim
+++ b/autoload/lsp_settings.vim
@@ -405,7 +405,7 @@ function! lsp_settings#init() abort
endif
exe 'augroup' lsp_settings#utils#group_name(l:ft)
autocmd!
- exe 'autocmd FileType' l:ft 'call s:vim_lsp_load_or_suggest(' string(l:ft) ')'
+ exe 'autocmd FileType' l:ft printf("call s:vim_lsp_load_or_suggest('%s')", l:ft)
augroup END
endfor
augroup vim_lsp_suggest