mirror of
https://github.com/vim/vim.git
synced 2025-07-24 10:45:12 -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:
parent
9581b5f70e
commit
5fb9ec5ed7
@ -1329,6 +1329,7 @@ open_line(dir, flags, second_line_indent)
|
||||
for (i = 0; i < padding; i++)
|
||||
{
|
||||
STRCAT(leader, " ");
|
||||
less_cols--;
|
||||
newcol++;
|
||||
}
|
||||
}
|
||||
|
@ -93,6 +93,16 @@ ENDTEST
|
||||
2bb
|
||||
}
|
||||
|
||||
STARTTEST
|
||||
/mno pqr/
|
||||
:setl tw=20 fo=an12wcq comments=s1:/*,mb:*,ex:*/
|
||||
A vwx yz
|
||||
ENDTEST
|
||||
|
||||
/* abc def ghi jkl
|
||||
* mno pqr stu
|
||||
*/
|
||||
|
||||
STARTTEST
|
||||
/^#/
|
||||
:setl tw=12 fo=tqnc comments=:#
|
||||
|
@ -57,6 +57,12 @@ a b
|
||||
{ 1aa ^^2bb }
|
||||
|
||||
|
||||
/* abc def ghi jkl
|
||||
* mno pqr stu
|
||||
* vwx yz
|
||||
*/
|
||||
|
||||
|
||||
# 1 xxxxx
|
||||
# foobar
|
||||
|
||||
|
@ -714,6 +714,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
612,
|
||||
/**/
|
||||
611,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user