mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 19:36:40 +00:00
vim-patch:8.1.1932: ml_get errors after append() #10866
Problem: Ml_get errors after using append(). (Alex Genco)
Solution: Do not update the cursor twice.
d20070274c
fix #10847
This commit is contained in:

committed by
Justin M. Keyes

parent
17f768ee9e
commit
09cbd6769b
@@ -592,6 +592,15 @@ func Test_mode()
|
||||
set complete&
|
||||
endfunc
|
||||
|
||||
func Test_append()
|
||||
enew!
|
||||
split
|
||||
call append(0, ["foo"])
|
||||
split
|
||||
only
|
||||
undo
|
||||
endfunc
|
||||
|
||||
func Test_getbufvar()
|
||||
let bnr = bufnr('%')
|
||||
let b:var_num = '1234'
|
||||
|
Reference in New Issue
Block a user