Open 3cooper opened 9 years ago
Thanks for the bug report!
Could you post the following?
:let g:ag_prg
and :let g:agprg
(if any):let g:ag_format
and :let g:agformat
(if any)ag --version
:let g:ag_prg
g:ag_prg ag --column
:let g:agprg
E121: Undefined variable: g:agprg
:let g:ag_format
g:ag_format %f:%l:%c:%m
:let g:agformat
E121: Undefined variable: g:agformat
ag --version
ag version 0.18.1
That all looks ok, but I'm thinking the out of ag changed. 0.18.1 was released a couple years ago, so I bet updating does the trick. I'll try to find some time to install that version and try it out myself though.
Didn't realize I was that far behind. Will update and give it a try.
Sent from my iPhone
On Feb 12, 2015, at 7:06 PM, Josh Hoff notifications@github.com wrote:
That all looks ok, but I'm thinking the out of ag changed. 0.18.1 was released a couple years ago, so I bet updating does the trick. I'll try to find some time to install that version and try it out myself though.
— Reply to this email directly or view it on GitHub.
i met the same problem too, when's the bugfix come?
@xitijie @3cooper @losingkeys so am i, this is due to ag_prg
and ag_format
are not set correctly.
this is to say: ag_prg
and ag_format
shoud match each other.
for example:
let g:ag_prg=ag --cloumn
match let g:ag_format="%f:%c:%m"
let g:ag_prg=ag --line-numbers --column
match let g:ag_format="%f:%l:%c:%m"
by the way, i guess the meaning of ag_format: %f: file
, %m: match content
, %l: line-numbers
, %c: column
, and %f:%m
is default output.
If I run:
I get results, but am unable to navigate to the lines via the quick fix window. I can scroll through them but hitting the enter key does not take me to the line.