0
0
mirror of https://github.com/vim/vim.git synced 2025-10-05 05:34:07 -04:00

updated for version 7.3.612

Problem:    Auto formatting messes up text when 'fo' contains "2". (ZyX)
Solution:   Decrement "less_cols". (Tor Perkins)
This commit is contained in:
Bram Moolenaar
2012-07-25 16:10:03 +02:00
parent 9581b5f70e
commit 5fb9ec5ed7
4 changed files with 19 additions and 0 deletions

View File

@@ -1329,6 +1329,7 @@ open_line(dir, flags, second_line_indent)
for (i = 0; i < padding; i++)
{
STRCAT(leader, " ");
less_cols--;
newcol++;
}
}