mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-08 03:24:47 +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
|
if g:jedi#auto_close_doc
|
||||||
" close preview if its still open after insert
|
" close preview if its still open after insert
|
||||||
augroup jedi_preview
|
augroup jedi_preview
|
||||||
autocmd!
|
autocmd! InsertLeave <buffer> if pumvisible() == 0|pclose|endif
|
||||||
autocmd InsertLeave <buffer> if pumvisible() == 0|pclose|endif
|
|
||||||
augroup END
|
augroup END
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user