From 1129ca67d20d8d1c5411435c3f28d2f95ea39e49 Mon Sep 17 00:00:00 2001 From: David Fisher Date: Thu, 28 Aug 2014 16:36:34 -0700 Subject: [PATCH] Fix UltiSnipsEdit for g:UltiSnipsSnippetsDir paths that include spaces --- autoload/UltiSnips.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)