mirror of
https://github.com/neovim/neovim.git
synced 2026-08-28 10:01:49 +00:00
@@ -102,6 +102,18 @@ describe('ShaDa support code', function()
|
||||
eq(2, nvim_current_line())
|
||||
end)
|
||||
|
||||
it('is able to dump and read back mark " from a closed tab', function()
|
||||
nvim_command('edit ' .. testfilename)
|
||||
nvim_command('edit ' .. testfilename_2)
|
||||
nvim_command('2')
|
||||
nvim_command('q!')
|
||||
nvim_command('qall')
|
||||
reset()
|
||||
nvim_command('edit ' .. testfilename_2)
|
||||
nvim_command('normal! `"')
|
||||
eq(2, nvim_current_line())
|
||||
end)
|
||||
|
||||
it('is able to populate v:oldfiles', function()
|
||||
nvim_command('edit ' .. testfilename)
|
||||
local tf_full = curbufmeths.get_name()
|
||||
|
||||
Reference in New Issue
Block a user