Given some Ruby data, containing nested hashes:
y = {
:A => {
:a => 'a'
},
:B => {
:b => 'b'
},
:C => {
:c => 'c'
}
}
when I run “Reindent”, the indentation is messed up:
y = {
:A => {
:a => 'a'
},
:B => {
:b => 'b'
},
:C => {
:c => 'c'
}
}
This only happens in “Ruby” mode; other language modes (e.g. “C”, “Javascript”) reindent as expected.
Where can I get help? How can I fix it?