This commit is contained in:
Steve Losh 2015-12-07 15:52:22 +00:00
commit e26b56d765

View File

@ -280,10 +280,10 @@ endfunction"}}}
function! s:GundoOpen()"{{{ function! s:GundoOpen()"{{{
if !exists('g:gundo_py_loaded') if !exists('g:gundo_py_loaded')
if s:has_supported_python == 2 && g:gundo_prefer_python3 if s:has_supported_python == 2 && g:gundo_prefer_python3
exe 'py3file ' . s:plugin_path . '/gundo.py' exe 'py3file ' . escape(s:plugin_path, ' ') . '/gundo.py'
python3 initPythonModule() python3 initPythonModule()
else else
exe 'pyfile ' . s:plugin_path . '/gundo.py' exe 'pyfile ' . escape(s:plugin_path, ' ') . '/gundo.py'
python initPythonModule() python initPythonModule()
endif endif