a:v -> escape(a:v) in GetRubyVarType for *args #120

merged 1 commit into from Dec 16, 2012

2 participants


completion for 'args.' or '(args).' was causing error, so I escaped the asterisk.

Vim-Ruby member

There is an existing issue that tries to deal with this problem in a different way, issue #98. I'm not very familiar with the completion script, which is why I kept postponing a decision on it. Your fix seems safer, since it looks like it fixes the particular error, avoiding any side effects. Hopefully :).

Thanks for your work. Merging in.

@AndrewRadev AndrewRadev merged commit 2ee2763 into vim-ruby:master Dec 16, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment