aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-30 09:33:05 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-30 09:33:05 +0900
commitbd75b6d33926aaebd9d6d9ae9dba150febd37341 (patch)
tree1fd08bdb83fde7066db297bfeb3b50094dc49203
parent8cb088b7726c5c09e100fb5849b0839fdf8d96ec (diff)
downloadvim-lsp-settings-bd75b6d33926aaebd9d6d9ae9dba150febd37341.tar.gz
vim-lsp-settings-bd75b6d33926aaebd9d6d9ae9dba150febd37341.tar.bz2
vim-lsp-settings-bd75b6d33926aaebd9d6d9ae9dba150febd37341.zip
Fix checking autocmd
-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 bbcf208..ab94968 100644
--- a/autoload/lsp_settings.vim
+++ b/autoload/lsp_settings.vim
@@ -385,7 +385,7 @@ function! s:vim_lsp_load_or_suggest(ft) abort
if l:disabled == 0 && l:found ==# 0
call s:vim_lsp_settings_suggest(a:ft)
else
- if exists('#lsp_settings') !=# 0
+ if exists('#lsp_setup') !=# 0
doautocmd User lsp_setup
endif
if exists(':LspInstallServer') !=# 2