I'm trying to figure out how to hint the perl indenter to not double indent when multiple opening braces are on the same line. Eg. If I type the following:
I would like to get: ("|" represents my cursor)
Instead I get:
Additionally after adding a few keys to the hash, and attempting to close it I would like to get:
$foo = ({
key => 'bar',
});
What I'm really getting is:
$foo = ({
key => 'bar';
});
It really seems like indent/perl.vim is over indenting when it finds multiple "({[", and under indenting when it files multiple ")}]" on the same line. I've tried poking at the perl.vim indent file but wasn't able to get it to behave.
Thanks!
-James