From bd75b6d33926aaebd9d6d9ae9dba150febd37341 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Thu, 30 Jan 2020 09:33:05 +0900 Subject: Fix checking autocmd --- autoload/lsp_settings.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-54-g00ecf