From dd6bb60985d200805afca353e485e75eb8e4a25c Mon Sep 17 00:00:00 2001 From: FreedCapybara Date: Wed, 15 Feb 2017 19:22:31 -0500 Subject: [PATCH] Add quotes around file paths Lets EasyGrep work with paths that have spaces in them. Sorry if this is a stupid way to fix that, but it worked for me :) --- autoload/EasyGrep.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/EasyGrep.vim b/autoload/EasyGrep.vim index 7650646..c0fa0b1 100755 --- a/autoload/EasyGrep.vim +++ b/autoload/EasyGrep.vim @@ -172,7 +172,7 @@ endfunction "}}} " EscapeList/ShellEscapeList {{{ function! EasyGrep#FileEscape(item) - return escape(a:item, ' \') + return '"'.escape(a:item, ' \').'"' endfunction function! EasyGrep#ShellEscape(item) return shellescape(a:item, 1)