From 1f4be73c18e142a37e88d0eee4b0b301cb2c6835 Mon Sep 17 00:00:00 2001 From: WSL <167372@zte.com.cn> Date: Sat, 4 Jun 2016 15:21:44 +0800 Subject: [PATCH] can not use "~/.vim/ag" as --- autoload/ag.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/ag.vim b/autoload/ag.vim index 432ef444..305545b8 100644 --- a/autoload/ag.vim +++ b/autoload/ag.vim @@ -73,7 +73,7 @@ function! ag#AgBuffer(cmd, args) endfunction function! ag#Ag(cmd, args) - let l:ag_executable = get(split(g:ag_prg, " "), 0) + let l:ag_executable = expand(get(split(g:ag_prg, " "), 0)) " Ensure that `ag` is installed if !executable(l:ag_executable)