mirror of
https://github.com/neovim/neovim.git
synced 2024-12-31 17:13:26 -07:00
parent
f4fddbfb77
commit
2dc27a8a78
@ -148,4 +148,14 @@ describe('ShaDa support code', function()
|
|||||||
eq({{'\171«'}, 'v'}, getreg('e'))
|
eq({{'\171«'}, 'v'}, getreg('e'))
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
it('remembers which register was the unnamed register when loading',
|
||||||
|
function()
|
||||||
|
setreg('0', {'zero'}, 'c')
|
||||||
|
setreg('1', {'one'}, 'c')
|
||||||
|
nvim_command('qall')
|
||||||
|
reset()
|
||||||
|
eq({{'zero'}, 'v'}, getreg('0'))
|
||||||
|
eq({{'one'}, 'v'}, getreg('1'))
|
||||||
|
eq({{'one'}, 'v'}, getreg('"'))
|
||||||
|
end)
|
||||||
end)
|
end)
|
||||||
|
Loading…
Reference in New Issue
Block a user