aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorwatiko <service@mail.watiko.net>2016-01-18 21:22:49 +0900
committerwatiko <service@mail.watiko.net>2016-01-19 12:29:37 +0900
commitc90784836bdeac173f9ff6f12f6a81a8b2e49e2d (patch)
tree3d4945b8e8d0bd175c6ccc77ad1daecf6c188b46 /src/nvim/testdir
parentee0e214427d7ed2a9fd8ffc85c424cfffc927408 (diff)
downloadrneovim-c90784836bdeac173f9ff6f12f6a81a8b2e49e2d.tar.gz
rneovim-c90784836bdeac173f9ff6f12f6a81a8b2e49e2d.tar.bz2
rneovim-c90784836bdeac173f9ff6f12f6a81a8b2e49e2d.zip
vim-patch:7.4.616
Problem: Cannot insert a tab in front of a block. Solution: Correctly compute aop->start. (Christian Brabandt) https://github.com/vim/vim/commit/f2c03d7301d35590a20cc43431950acc3a2f6036
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test39.in10
-rw-r--r--src/nvim/testdir/test39.okbin585 -> 663 bytes
2 files changed, 10 insertions, 0 deletions
diff --git a/src/nvim/testdir/test39.in b/src/nvim/testdir/test39.in
index ebbcbd6d0d..71aeee9b95 100644
--- a/src/nvim/testdir/test39.in
+++ b/src/nvim/testdir/test39.in
@@ -2,6 +2,10 @@
Test Visual block mode commands
And test "U" in Visual mode, also on German sharp S.
+#define BO_ALL 0x0001
+#define BO_BS 0x0002
+#define BO_CRSR 0x0004
+
STARTTEST
:so small.vim
:so mbyte.vim
@@ -68,6 +72,12 @@ G3o987652k02l2jr
:exe ":norm! 2k\<C-V>$gj\<Esc>"
:let cpos=getpos("'>")
:$put ='col:'.cpos[2].' off:'.cpos[3]
+:"
+:" block_insert when replacing spaces in front of the block with tabs
+:set ts=8 sts=4 sw=4
+:4,7y
+Gp
+:exe ":norm! f0\<C-V>2jI\<tab>\<esc>"
:/^the/,$w >> test.out
:qa!
ENDTEST
diff --git a/src/nvim/testdir/test39.ok b/src/nvim/testdir/test39.ok
index 198e5b14dc..497e2854ca 100644
--- a/src/nvim/testdir/test39.ok
+++ b/src/nvim/testdir/test39.ok
Binary files differ