summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_comments.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_comments.vim')
-rw-r--r--src/testdir/test_comments.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testdir/test_comments.vim b/src/testdir/test_comments.vim
index c34b85c42d..67454f477e 100644
--- a/src/testdir/test_comments.vim
+++ b/src/testdir/test_comments.vim
@@ -237,6 +237,12 @@ func Test_comment_autoformat()
call feedkeys("aone\ntwo\n", 'xt')
call assert_equal(['one', 'two', ''], getline(1, '$'))
+ set backspace=indent,eol,start
+ %d
+ call feedkeys("aone \n\<BS>", 'xt')
+ call assert_equal(['one'], getline(1, '$'))
+ set backspace&
+
close!
endfunc