0
0
mirror of https://github.com/vim/vim.git synced 2025-10-31 09:57:14 -04:00

updated for version 7.3.020

Problem:    Cursor position wrong when joining multiple lines and
            'formatoptions' contains "a". (Moshe Kamensky)
Solution:   Adjust cursor position for skipped indent. (Carlo Teubner)
This commit is contained in:
Bram Moolenaar
2010-10-09 17:23:31 +02:00
parent 4a74803ef8
commit 341ad7a699
4 changed files with 21 additions and 4 deletions

View File

@@ -50,6 +50,17 @@ a b
#a b
}
STARTTEST
/^{/+2
:set tw& fo=a
I^^
ENDTEST
{
1aa
2bb
}
STARTTEST
:g/^STARTTEST/.,/^ENDTEST/d
:1;/^Results/,$wq! test.out

View File

@@ -33,3 +33,6 @@ a b
#a b
}
{ 1aa ^^2bb }