mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 07:58:35 +00:00
vim-patch:8.2.4219: reading before the start of the line
Problem: Reading before the start of the line.
Solution: Check boundary before trying to read the character.
44db8213d3
This commit is contained in:
@@ -1103,6 +1103,13 @@ func Test_visual_put_blockedit_zy_and_zp()
|
||||
bw!
|
||||
endfunc
|
||||
|
||||
func Test_visual_block_yank_zy()
|
||||
new
|
||||
" this was reading before the start of the line
|
||||
exe "norm o\<C-T>\<Esc>\<C-V>zy"
|
||||
bwipe!
|
||||
endfunc
|
||||
|
||||
func Test_visual_block_with_virtualedit()
|
||||
CheckScreendump
|
||||
|
||||
|
Reference in New Issue
Block a user