vim-ruby
vim-ruby copied to clipboard
Vim/Ruby Configuration Files
Given: ``` puts("a#{":b"}c") ``` The inner `":` sequence pairs with the opening quote, making `a` part of a quoted symbol hash key. The `#{..}` subexpression itself still highlights correctly, but...
Not planning to merge this, just playing around. Changes were mostly mechanical, so it wasn't a big deal to apply. I might do something like keep both versions of the...
```ruby foo = if true "foo" else "bar" end foo + if true "foo" else "bar" end ```
Hi, I tried adding a highlight group for parentheses and so far it's been working. I have to remove a line because methods with only keyword arguments didn't behave properly:...
Using `e367f7b` the following code is misindented: ```ruby x_to_y_mapping = { 'x_one' => %i[ y_one y_two ], 'x_two' => %i[ y_three y_four ] } ``` becomes: ```ruby x_to_y_mapping = {...
VIM highlighting example:  Emacs: 
According to the [ruby-style-guide](https://github.com/bbatsov/ruby-style-guide#user-content-no-double-indent), it would be nice if indentation could do this automatically: ``` ruby method key: :val, key2: :val2, key3: :val3 ``` Currently it does (with 2 spaces...
Ubuntu 16.04 VIM 8.0 1. if statement with nested erb fails ```erb Signed in as: foo ``` 2. else statement fails ```erb Signed in as: foo ``` 3. Without nested...
Do we have a plan to support format .rbs file ?!
A heredoc following a comment that ends with a full-stop `.` is not highlighted properly. ```ruby let(:source) do # Empty lines should make no difference.