From c381156dd4a7e1ad441e7326ff84bce08b4b106a Mon Sep 17 00:00:00 2001 From: Konfekt Date: Wed, 23 Nov 2022 08:23:42 +0100 Subject: [PATCH] fix typo --- ftplugin/python/jedi.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ftplugin/python/jedi.vim b/ftplugin/python/jedi.vim index ac74a75..abb9c5e 100644 --- a/ftplugin/python/jedi.vim +++ b/ftplugin/python/jedi.vim @@ -48,10 +48,10 @@ if g:jedi#auto_initialization " close preview if its still open after insert augroup jedi_preview if v:version > 704 - autocmd CompleteDone * pclose + autocmd CompleteDone pclose else - autocmd InsertLeave * if pumvisible() == 0|pclose|endif - autocmd CursorMovedI * if pumvisible() == 0|pclose|endif + autocmd InsertLeave if pumvisible() == 0|pclose|endif + autocmd CursorMovedI if pumvisible() == 0|pclose|endif endif augroup END endif