Vim version: 9.0
language: Ruby
With a line like:
foo = [ {a: 1, b: 2}, {c: 3, d: 4} ]
placing the cursor on the beginning of the array ([) then pressing gS gives me:
foo = [
{a: 1, b: 2},
c: 3,
d: 4
]
when I'm expecting:
foo = [
{a: 1, b: 2},
{c: 3, d: 4}
]
Also, but I guess it's known and it's clearly and edge-case, joining modules with named as a single letter fails:
module A
module B
end
end
# cursor on A then gJ
module A module B
end
end
Both modules need to be named with multiple letters in order to be successfully joined
module Aa
module Bb
end
end
# cursor on Aa then gJ
module Aa::Bb
end
# works like a charm, thanks for your wonderful plugin !
Vim version: 9.0
language: Ruby
With a line like:
placing the cursor on the beginning of the array (
[) then pressinggSgives me:when I'm expecting:
Also, but I guess it's known and it's clearly and edge-case, joining modules with named as a single letter fails:
Both modules need to be named with multiple letters in order to be successfully joined