# HG changeset patch # User David Fisher # Date 1409170425 25200 # Node ID 7ec49c438c416f59c80d50b26eca63bc52444d8c # Parent eb9fc8676b8959c3c2c95bf6b6e8f0f44317c5c0 Fix pyfile call for paths with spaces diff -r eb9fc8676b89 -r 7ec49c438c41 autoload/gundo.vim --- a/autoload/gundo.vim Wed Jul 10 20:37:26 2013 -0400 +++ b/autoload/gundo.vim Wed Aug 27 13:13:45 2014 -0700 @@ -280,10 +280,10 @@ function! s:GundoOpen()"{{{ if !exists('g:gundo_py_loaded') 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() else - exe 'pyfile ' . s:plugin_path . '/gundo.py' + exe 'pyfile ' . escape(s:plugin_path, ' ') . '/gundo.py' python initPythonModule() endif