From: Sergey Matveev <stargrave@stargrave.org>
Date: Sat, 11 Jul 2020 13:56:09 +0000 (+0300)
Subject: preview is already disabled, remove autocmd
X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=48c99c15b75ce79d23195edfc6f6e3c26a84d301;p=dotfiles.git

preview is already disabled, remove autocmd
---

diff --git a/vim/.vim/plugin/lsp.vim b/vim/.vim/plugin/lsp.vim
index 13d51d5..104f1d1 100644
--- a/vim/.vim/plugin/lsp.vim
+++ b/vim/.vim/plugin/lsp.vim
@@ -6,7 +6,6 @@ let g:lsp_settings = {
 let g:asyncomplete_auto_completeopt = 0
 let g:asyncomplete_auto_popup = 0
 imap <C-@> <Plug>(asyncomplete_force_refresh)
-autocmd! CompleteDone * if pumvisible() == 0 | pclose | endif
 
 let g:lsp_highlight_references_enabled = 1
 let g:lsp_diagnostics_echo_cursor = 1