Mercurial > vim
comparison src/testdir/test68.in @ 5403:b9c1c1f4cda9 v7.4.052
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.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 06 Oct 2013 17:46:56 +0200 |
parents | 2b4b6185054f |
children |
comparison
equal
deleted
inserted
replaced
5402:8d1edeae0e62 | 5403:b9c1c1f4cda9 |
---|---|
60 1 a | 60 1 a |
61 # 1 a | 61 # 1 a |
62 } | 62 } |
63 | 63 |
64 STARTTEST | 64 STARTTEST |
65 /^{/+3 | |
66 :set tw=5 fo=t2a si | |
67 i A_ | |
68 ENDTEST | |
69 | |
70 { | |
71 | |
72 x a | |
73 b | |
74 c | |
75 | |
76 } | |
77 | |
78 STARTTEST | |
65 /^{/+1 | 79 /^{/+1 |
66 :set tw=5 fo=qn comments=:# | 80 :set tw=5 fo=qn comments=:# |
67 gwap | 81 gwap |
68 ENDTEST | 82 ENDTEST |
69 | 83 |