mirror of
https://github.com/vim/vim.git
synced 2025-10-28 09:27:14 -04:00
updated for version 7.3.549
Problem: In 'cinoptions' "0s" is interpreted as one shiftwidth. (David
Pineau)
Solution: Use the zero as zero. (Lech Lorens)
This commit is contained in:
@@ -975,6 +975,24 @@ main ( int first_par, /*
|
||||
|
||||
}
|
||||
|
||||
STARTTEST
|
||||
:set cin
|
||||
:set cino=es,n0s
|
||||
/main
|
||||
=][
|
||||
ENDTEST
|
||||
|
||||
main(void)
|
||||
{
|
||||
/* Make sure that cino=X0s is not parsed like cino=Xs. */
|
||||
if (cond)
|
||||
foo();
|
||||
else
|
||||
{
|
||||
bar();
|
||||
}
|
||||
}
|
||||
|
||||
STARTTEST
|
||||
:set cin
|
||||
:set cino=
|
||||
|
||||
@@ -940,6 +940,18 @@ main ( int first_par, /*
|
||||
}
|
||||
|
||||
|
||||
main(void)
|
||||
{
|
||||
/* Make sure that cino=X0s is not parsed like cino=Xs. */
|
||||
if (cond)
|
||||
foo();
|
||||
else
|
||||
{
|
||||
bar();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
{
|
||||
do
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user