-
Notifications
You must be signed in to change notification settings - Fork 90
Open
Description
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
endBoth 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 !Metadata
Metadata
Assignees
Labels
No labels