mirror of
https://github.com/vim/vim.git
synced 2025-10-03 05:14:07 -04:00
patch 8.1.1932: ml_get errors after using append()
Problem: Ml_get errors after using append(). (Alex Genco) Solution: Do not update the cursor twice. (closes #1737)
This commit is contained in:
@@ -705,6 +705,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