I have a parenthesis-insertion plugin, so when write it( I get it(|) (with the cursor between the parenthesis). It seems that this confuses the indentation plugin.
It happens when the anonymous function is empty... for whatever reason I'd never noticed this bug before. I pushed a fix to master, could you please test it? Thanks for reporting!
Hi there,
I have trouble with the indenting proposed by this plugin. The code I am trying to write is the following:
I have a parenthesis-insertion plugin, so when write
it(
I getit(|)
(with the cursor between the parenthesis). It seems that this confuses the indentation plugin.From this position:
When I press enter it gets missaligned - it seems it is trying to align the parents instead of the
it
:Also, the weirdest part is if I try to write
end
on that position. Then the line gets completely missaligned (I don't even press enter).How can I solve this behavior?