diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-12-12 17:33:32 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-12-12 17:33:32 +0100 |
commit | 83dadafdd7967ba2d57b343e24119d6ff17b190c (patch) | |
tree | 19cf9aaed92636cc94ae66c40af6f7f130e33942 /src/testdir | |
parent | 4b166d0a6d06f9a8f2d6f7f3beb5e1edb9a4783c (diff) | |
download | vim-83dadafdd7967ba2d57b343e24119d6ff17b190c.zip |
updated for version 7.3.760
Problem: dv_ deletes the white space before the line.
Solution: Move the cursor to the first non-white. (Christian Brabandt)
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test19.in | 6 | ||||
-rw-r--r-- | src/testdir/test19.ok | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/testdir/test19.in b/src/testdir/test19.in index cbb4dd2c2..aafa34e52 100644 --- a/src/testdir/test19.in +++ b/src/testdir/test19.in @@ -1,4 +1,5 @@ Tests for "r<Tab>" with 'smarttab' and 'expandtab' set/not set. +Also test that dv_ works correctly STARTTEST :so small.vim @@ -16,7 +17,9 @@ r :" Test that copyindent works with expandtab set :set expandtab smartindent copyindent ts=8 sw=8 sts=8 o{ -x:?^start?,$w! test.out +x:set nosol +/Second line/ +fwdv_:?^start?,$w! test.out :qa! ENDTEST @@ -27,3 +30,4 @@ test text a cde f ghi test text + Second line beginning with whitespace diff --git a/src/testdir/test19.ok b/src/testdir/test19.ok index 23d51507d..414621491 100644 --- a/src/testdir/test19.ok +++ b/src/testdir/test19.ok @@ -7,3 +7,4 @@ test text test text { x + with whitespace |