codegram / vim-codereview

GItHub Pull Request-based Code Reviews
239 stars 18 forks source link

Too many arguments for function: codereview#Review #7

Open sfacs opened 10 years ago

sfacs commented 10 years ago

Did a :CodeReview https://github.com/xxx/xxx-xxx-android/pull/2

Got this error: E118: Too many arguments for function: codereview#Review

Any idea?

fd0 commented 9 years ago

Probably your version of vim doesn't have Ruby-support. There's a bug when Ruby support is not available: The functions used in this case only accept one argument: https://github.com/codegram/vim-codereview/blob/master/autoload/codereview.vim#L21

I ran into this bug yesterday with neovim, which does not support Ruby.

sparky005 commented 7 years ago

I am also getting this error. My vim supports ruby and I have ruby installed. Running on Windows (maybe that's my problem?)

sparky005 commented 7 years ago

Never mind. I didn't have the right version of Ruby installed.

bergercookie commented 3 years ago

Stumbled upon the same issue with neovim - gem install neovim fixed it for me.