Closed yths closed 10 years ago
I have the same error on my system
I'm still seeing this issue even after 08a3494
It's fixed for me.
@azakus which version of ack
and vim are you using? and did you change your g:ackprg
?
ack 2.12, vim 7.4 patches 1-135
I have not set g:ackprg
@azakus sorry didn't ask it in first time, but which OS are you using and how is set your wildignore
?
OS: Arch x86_64
wildignore
= *.o, *~
Its now line 32.
ack 2.12
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Feb 11 2014 09:12:41)
MacOS X (unix) version
Included patches: 1-52
Compiled by Homebrew
set wildignore+=*/.git/*,*/.hg/*,*/.svn/*,*/tmp/*,*.so,*.swp,*.zip
Error detected while processing /Users/eddie/.vim/bundle/ack.vim/plugin/ack.vim:
line 32:
E15: Invalid expression:
Adding: let g:ack_wildignore = 0
to my .vimrc did make the error go away but I'm not sure what that does.
I'm starting to think that was not a good idea try to respect wildignore with the plugin:
ag
as search tool.~/.ackrc
I'll remove this feature for now, and we can try use it in future.
related with #93.
Something is wrong with this line: let s:ackprg_version = eval(matchstr(system(g:ackprg . " --version"), '[0-9.]+'))
When I start vim it tells me, that in line 31 (the one above) is an invalid expression.