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:
KunMing Xie
2017-08-02 16:22:04 +08:00
committed by Justin M. Keyes
parent 36a91c790e
commit 348229b1d3
3 changed files with 15 additions and 7 deletions

View File

@@ -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