mirror of
https://github.com/neovim/neovim.git
synced 2026-07-21 00:21:38 +00:00
vim-patch:8.0.0133 (#7107)
Problem: "2;'(" causes ml_get errors in an empty buffer. (Dominique Pelle)
Solution: Check the cursor line earlier.
fe38b494ff
This commit is contained in:
committed by
Justin M. Keyes
parent
36a91c790e
commit
348229b1d3
@@ -232,3 +232,10 @@ func Test_paste_in_cmdline()
|
||||
call assert_equal('"aaa a;b-c*d bbb', @:)
|
||||
bwipe!
|
||||
endfunc
|
||||
|
||||
func Test_illegal_address()
|
||||
new
|
||||
2;'(
|
||||
2;')
|
||||
quit
|
||||
endfunc
|
||||
|
||||
Reference in New Issue
Block a user