From d73de9c3a7100e886e6a83cbc429b37bb7161b5f Mon Sep 17 00:00:00 2001 From: raven42 Date: Wed, 16 Aug 2023 07:57:40 -0500 Subject: [PATCH] Update python call to not run on gui --- autoload/tagbar.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/tagbar.vim b/autoload/tagbar.vim index 35ceae2c..b73fb7b9 100644 --- a/autoload/tagbar.vim +++ b/autoload/tagbar.vim @@ -3093,7 +3093,7 @@ endfunction " run shell command in a proper way: prevent temporary window creation function! s:run_system(cmd, version) abort - if has('win32') && !has('nvim') && a:version > 0 && (has('python3') || has('python2')) + if has('win32') && !has('nvim') && && !has('gui_running') && a:version > 0 && (has('python3') || has('python2')) if a:version == 3 && has('python3') let pyx = 'py3 ' let python_eval = 'py3eval'