diff --git a/autoload/UltiSnips.vim b/autoload/UltiSnips.vim index 5f18569..a76ef06 100644 --- a/autoload/UltiSnips.vim +++ b/autoload/UltiSnips.vim @@ -66,7 +66,7 @@ function! UltiSnips#Edit(bang, ...) let mode = 'sp' endif endif - exe ':'.mode.' '.file + exe ':'.mode.' '.escape(file, ' \') endfunction function! UltiSnips#AddFiletypes(filetypes)