0
0
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:
Bram Moolenaar
2012-06-13 13:40:48 +02:00
parent 27ba088549
commit 48d279215f
4 changed files with 35 additions and 1 deletions

View File

@@ -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=

View File

@@ -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
{