aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_breakindent.in
diff options
context:
space:
mode:
authorDavid Bürgin <676c7473@gmail.com>2015-05-14 15:25:56 +0200
committerMichael Reed <m.reed@mykolab.com>2015-05-16 18:39:39 -0400
commitf52528477886556e4fc0fa80b6a9d0b8d08cfd9d (patch)
tree1bdbe36bc4ef9b5299c885736edb9a551594e75e /src/nvim/testdir/test_breakindent.in
parent9b87955b34cca3b2a9708b073e07f3641198e7a0 (diff)
downloadrneovim-f52528477886556e4fc0fa80b6a9d0b8d08cfd9d.tar.gz
rneovim-f52528477886556e4fc0fa80b6a9d0b8d08cfd9d.tar.bz2
rneovim-f52528477886556e4fc0fa80b6a9d0b8d08cfd9d.zip
vim-patch:7.4.594 #2654
Problem: Using a block delete while 'breakindent' is set does not work properly. Solution: Use "line" instead of "prev_pend" as the first argument to lbr_chartabsize_adv(). (Hirohito Higashi) https://github.com/vim/vim/commit/v7-4-594 See https://groups.google.com/d/msg/vim_dev/B8k0AVlqMUU/qKXeY8srpGcJ
Diffstat (limited to 'src/nvim/testdir/test_breakindent.in')
-rw-r--r--src/nvim/testdir/test_breakindent.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_breakindent.in b/src/nvim/testdir/test_breakindent.in
index 4242e6c266..5c6ec4d927 100644
--- a/src/nvim/testdir/test_breakindent.in
+++ b/src/nvim/testdir/test_breakindent.in
@@ -100,6 +100,23 @@ fygjyl:let line2 = @0
:$put =line1
:$put =line2
:"
+:let g:test="Test 14: breakindent + visual blockwise delete #1"
+:set all& breakindent
+:30vnew
+:normal! 3a1234567890
+:normal! a abcde
+:exec "normal! 0\<C-V>tex"
+:let line1=ScreenChar(line('.'),8)
+:call DoRecordScreen()
+:"
+:let g:test="Test 15: breakindent + visual blockwise delete #2"
+:%d
+:normal! 4a1234567890
+:exec "normal! >>\<C-V>3f0x"
+:let line1=ScreenChar(line('.'),20)
+:call DoRecordScreen()
+:quit!
+:"
:%w! test.out
:qa!
ENDTEST