vim-ruby icon indicating copy to clipboard operation
vim-ruby copied to clipboard

Vim/Ruby Configuration Files

Results 69 vim-ruby issues
Sort by recently updated
recently updated
newest added

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...

syntax

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:...

syntax

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: ![vim_ruby_block](https://user-images.githubusercontent.com/196747/70387451-24836a80-19c7-11ea-968c-ad904de6dbfc.png) Emacs: ![emacs_ruby_block](https://user-images.githubusercontent.com/196747/70387474-2baa7880-19c7-11ea-9918-8c9220227485.png)

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...

indent

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...

indent

Do we have a plan to support format .rbs file ?!

indent
syntax
ftplugin
ftdetect

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.