diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-06-13 14:01:41 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-06-13 14:01:41 +0200 |
commit | e04a48f20413f3f926d26394fad6431795348af7 (patch) | |
tree | 24168dd25a64d6e0df9cb21bdb0695070f38c5cb /src/testdir/test29.in | |
parent | 48d279215f08667ccfa243afe874ef93e228dd57 (diff) | |
download | vim-git-e04a48f20413f3f926d26394fad6431795348af7.tar.gz |
updated for version 7.3.550v7.3.550
Problem: With "j" in 'formatoptions' a list leader is not removed. (Gary
Johnson)
Solution: Don't ignore the start of a three part comment. (Lech Lorens)
Diffstat (limited to 'src/testdir/test29.in')
-rw-r--r-- | src/testdir/test29.in | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/src/testdir/test29.in b/src/testdir/test29.in index cf24642d5..2df2f7077 100644 --- a/src/testdir/test29.in +++ b/src/testdir/test29.in @@ -103,12 +103,15 @@ if (condition) // Remove the next comment leader! STARTTEST /^{/+1 -:set comments=s1:/*,mb:*,ex:*/,:// +:set comments=sO:*\ -,mO:*\ \ ,exO:*/ +:set comments+=s1:/*,mb:*,ex:*/,:// :set comments+=s1:>#,mb:#,ex:#<,:< :set cpoptions-=j joinspaces fo=j :set backspace=eol,start :.,+3join j4J +:.,+8join +j9J :.,+2join j3J :.,+2join @@ -132,6 +135,24 @@ ENDTEST * Make sure the previous comment leader is not removed. */ +/* List: + * - item1 + * foo bar baz + * foo bar baz + * - item2 + * foo bar baz + * foo bar baz + */ + +/* List: + * - item1 + * foo bar baz + * foo bar baz + * - item2 + * foo bar baz + * foo bar baz + */ + // Should the next comment leader be left alone? // Yes. |