mileszs / ack.vim

Vim plugin for the Perl module / CLI script 'ack'
Other
3.08k stars 396 forks source link

Latest update doesn't produce results when using 'Ack' in Vim. #56

Closed bdielman closed 11 years ago

bdielman commented 11 years ago

After updating to the latest, if I run the :Ack command to search…

:Ack 'button'

no results are produced. Running ack in Terminal works as expected. Is there something I need to update in my .vimrc to get it working?

Thanks!

mileszs commented 11 years ago

I suspect this is due to automatic escaping in a recent update. I am contemplating rolling back that update, as it is unexpected, and thus unintuitive, and thus a poor user experience. I'm guessing I can count on you for a vote pro-rollback? Haha.

On Mon, Nov 26, 2012 at 2:11 PM, Brad Dielman notifications@github.comwrote:

After updating to the latest, if I run the :Ack command to search…

:Ack 'button

no results are produced. Running ack in Terminal works as expected. Is there something I need to update in my .vimrc to get it working?

Thanks!

— Reply to this email directly or view it on GitHubhttps://github.com/mileszs/ack.vim/issues/56.

jfelchner commented 11 years ago

Same problem here @mileszs for what it's worth. :+1: on the rollback. :)

ghost commented 11 years ago

My case:

:Ack --cc NR_DHCP

I got below error messages:

|| Unknown option: cc NR_DHCP
|| ack: See ack --help, ack --help-types or ack --man for options.

It seems that ack.vim accidentally remove the -- part of my command options (--cc).

ghost commented 11 years ago

I find that if I revert the changes in this commit, then there is no problems!

bdielman commented 11 years ago

+1 on the rollback!

mileszs commented 11 years ago

Rolled back. Let me know if that does the trick.

bdielman commented 11 years ago

Works great! Thanks!