From c90784836bdeac173f9ff6f12f6a81a8b2e49e2d Mon Sep 17 00:00:00 2001 From: watiko Date: Mon, 18 Jan 2016 21:22:49 +0900 Subject: 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 --- src/nvim/testdir/test39.in | 10 ++++++++++ src/nvim/testdir/test39.ok | Bin 585 -> 663 bytes 2 files changed, 10 insertions(+) (limited to 'src/nvim/testdir') 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\$gj\" :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\2jI\\" :/^the/,$w >> test.out :qa! ENDTEST diff --git a/src/nvim/testdir/test39.ok b/src/nvim/testdir/test39.ok index 198e5b14dc..497e2854ca 100644 Binary files a/src/nvim/testdir/test39.ok and b/src/nvim/testdir/test39.ok differ -- cgit