80be9ec7656d

Merge.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 07 Dec 2015 15:52:22 +0000
parents 1d8370c9bf7f (current diff) 7ec49c438c41 (diff)
children 4206a55f9922
branches/tags (none)
files

Changes

--- a/autoload/gundo.vim	Wed Oct 07 10:34:15 2015 +0700
+++ b/autoload/gundo.vim	Mon Dec 07 15:52:22 2015 +0000
@@ -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