-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
defining g:ag.prg error #105
Comments
You can use
there is an abreviation https://github.com/albfan/ag.vim/blob/master/doc/ag.txt#L212 |
Ah, I've found this:
To change options, create empty dict beforehand and specify them one-by-one:
let g:ag = {}
I think this should be mentioned on main README page
2018-06-08 18:13 GMT+05:00 Alberto Fanjul <[email protected]>:
… You can use :AgIgnore to ignore whatever you want
:AgIgnore po
:AgIgnore doc
:AgIgnore file
there is an abreviation agi avaliable too
https://github.com/albfan/ag.vim/blob/master/doc/ag.txt#L212
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#105 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AIduFuJ3waBpMOO6W4aiT9etYS08G0coks5t6niNgaJpZM4UgC-p>
.
|
You're right. That's some quirks from a heavy refactor time ago. To avoid bother user with that ag.vim should care about simple variables as:
Meanwhile can you provide a PR on README? |
I have tried to do as said in docs and determine all options but now search not working at all. Looks like some options missing from docs, and without them nothing works. Or it is possible I am doing something wrong. |
Seems we lost that var since 3687b73. Basically this will work again when #97 (comment) is implemented |
I am trying to add ignore list to plugin in vimrc:
let g:ag.prg="ag --vimgrep -p [myfile]
But get error on vim start:
E121: Undefined variable: g:ag
vim 8.1.22
when I run this command from : it works
The text was updated successfully, but these errors were encountered: