Skip to content

Commit

Permalink
Ignore error messages when searching
Browse files Browse the repository at this point in the history
This may fix #57, but more testing
is needed.
  • Loading branch information
losingkeys committed Jan 21, 2015
1 parent 1292f33 commit e70e049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/ag.vim
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function! ag#Ag(cmd, args)
let &grepformat=g:ag_format
set t_ti=
set t_te=
silent execute a:cmd . " " . escape(l:grepargs, '|')
silent! execute a:cmd . " " . escape(l:grepargs, '|')
finally
let &grepprg=l:grepprg_bak
let &grepformat=l:grepformat_bak
Expand Down

0 comments on commit e70e049

Please sign in to comment.