Fix UltiSnipsEdit for g:UltiSnipsSnippetsDir paths that include spaces

This commit is contained in:
David Fisher 2014-08-28 16:36:34 -07:00
parent 59defbdd53
commit 1129ca67d2

View File

@ -66,7 +66,7 @@ function! UltiSnips#Edit(bang, ...)
let mode = 'sp' let mode = 'sp'
endif endif
endif endif
exe ':'.mode.' '.file exe ':'.mode.' '.escape(file, ' \')
endfunction endfunction
function! UltiSnips#AddFiletypes(filetypes) function! UltiSnips#AddFiletypes(filetypes)