vim does incorrect autoindentation in the following example:
Bug #43636 reported by
Allison Karlitskaya
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vim (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: vim
write this program (formatted as follows) with autoindentation on in vim:
#include <stdio.h>
int
main (void)
{
printf ("Hello world\n");
return 0;
}
vim gets the indenting correct.
now go up to the line with "int" on its own. enter insert mode at the start of that line. press enter to insert an additional blank line between #include and int. 'int' now incorrectly indents to the right.
Changed in vim: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
Can't reproduce here...