0
0
mirror of https://github.com/vim/vim.git synced 2025-11-15 23:14:06 -05:00

updated for version 7.4.052

Problem:    With 'fo' set to "a2" inserting a space in the first column may
            cause the cursor to jump to the previous line.
Solution:   Handle the case when there is no comment leader properly. (Tor
            Perkins)  Also fix that cursor is in the wrong place when spaces
            get replaced with a Tab.
This commit is contained in:
Bram Moolenaar
2013-10-06 17:46:56 +02:00
parent a951e35478
commit 2c019c8696
5 changed files with 56 additions and 9 deletions

View File

@@ -61,6 +61,20 @@ ENDTEST
# 1 a
}
STARTTEST
/^{/+3
:set tw=5 fo=t2a si
i A_
ENDTEST
{
x a
b
c
}
STARTTEST
/^{/+1
:set tw=5 fo=qn comments=:#

View File

@@ -42,6 +42,15 @@ a b
}
{
x a
b_
c
}
{
# 1 a
# b