mileszs / ack.vim

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

E15: Invalid expression . #102

Closed morenoh149 closed 10 years ago

morenoh149 commented 10 years ago

Hi! I'm using https://github.com/square/maximum-awesome which installs your plugin. I recently reinstalled and now I'm getting errors everytime I launch vim

Error detected while processing /Users/harrymoreno/programming/maximum-awesome/vim/bundle/ack.vim/plugin/ack.vim:
line   31:
E15: Invalid expression: .

the following are lines 28 to 33 of vim/bundle/ack.vim/plubins/ack.vim

end

" this works despite the other options given for ack in g:ackprg
let s:ackprg_version = eval(matchstr(system(g:ackprg . " --version"),  '[0-9.]\+'))

if !exists("g:ack_apply_qmappings")

any ideas how to remove this error? I'm running osx and can still use vim but it's just annoying.

kassio commented 10 years ago

this is the same case as #101.