mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-06 18:54:44 +08:00
Fix preview autocmd being cleared for all buffers (#597)
Fixes https://github.com/davidhalter/jedi-vim/pull/582#issuecomment-235986169.
This commit is contained in:
committed by
Daniel Hahler
parent
2eabe57616
commit
b7e42e6ad5
@@ -44,8 +44,7 @@ if g:jedi#auto_initialization
|
||||
if g:jedi#auto_close_doc
|
||||
" close preview if its still open after insert
|
||||
augroup jedi_preview
|
||||
autocmd!
|
||||
autocmd InsertLeave <buffer> if pumvisible() == 0|pclose|endif
|
||||
autocmd! InsertLeave <buffer> if pumvisible() == 0|pclose|endif
|
||||
augroup END
|
||||
endif
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user