mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 16:08:36 +00:00
vim-patch:8.0.0339: illegal memory access with vi' (#7794)
Problem: Illegal memory access with vi'
Solution: For quoted text objects bail out if the Visual area spans more
than one line.
46522af724
This commit is contained in:

committed by
Justin M. Keyes

parent
907b2f18f7
commit
1d8c612f78
@@ -43,3 +43,10 @@ func Test_dotregister_paste()
|
||||
call assert_equal('hello world world', getline(1))
|
||||
q!
|
||||
endfunc
|
||||
|
||||
func Test_Visual_inner_quote()
|
||||
new
|
||||
normal oxX
|
||||
normal vki'
|
||||
bwipe!
|
||||
endfunc
|
||||
|
Reference in New Issue
Block a user