Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modernize ruby #27

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Modernize ruby #27

wants to merge 2 commits into from

Conversation

calebhearth
Copy link
Collaborator

I went through vim-ruby's syntax/ruby.vim and renamed or removed syntax names
that had been changed there.

I also renamed vim-detailed original names to avoid implying that the syntax
came from vim-ruby, such as {-ruby-}{+detailed+}Initialize.

Finally, I removed highlight links that already existed in vim-ruby.

For somewhat arbitrary reasons it seems that rubyBlockParameter was removed from
vim-ruby's syntax/ruby.vim. Re-add it so that we have something to link the new
rubyNumberedBlockParam to, and also because I vaguely remember having it and it
was nice.

Also introduce rubyNumberedBlockParamError to help Rubyists avoid using _0 by
mistake.

I went through vim-ruby's syntax/ruby.vim and renamed or removed syntax names
that had been changed there.

I also renamed vim-detailed original names to avoid implying that the syntax
came from vim-ruby, such as {-ruby-}{+detailed+}Initialize.

Finally, I removed highlight links that already existed in vim-ruby.
For somewhat arbitrary reasons it seems that rubyBlockParameter was removed from
vim-ruby's syntax/ruby.vim. Re-add it so that we have something to link the new
rubyNumberedBlockParam to, and also because I vaguely remember having it and it
was nice.

Also introduce rubyNumberedBlockParamError to help Rubyists avoid using `_0` by
mistake.

vim-ruby/vim-ruby@074200f
vim-ruby/vim-ruby@eba5233
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant