mirror of
https://github.com/neovim/neovim.git
synced 2026-04-24 16:25:40 +00:00
api: consistently use nvim_ prefix and update documentation
This commit is contained in:
@@ -2463,17 +2463,17 @@ describe('ftplugin/shada.vim', function()
|
||||
nvim_command('setlocal filetype=shada')
|
||||
funcs.setline(1, ' Replacement with timestamp ' .. epoch)
|
||||
nvim_feed('ggA:\027')
|
||||
eq('Replacement with timestamp ' .. epoch .. ':', curbuf('get_line', 0))
|
||||
eq('Replacement with timestamp ' .. epoch .. ':', curbuf('get_lines', 0, 1, true)[1])
|
||||
nvim_feed('o-\027')
|
||||
eq(' -', curbuf('get_line', 1))
|
||||
eq({' -'}, curbuf('get_lines', 1, 2, true))
|
||||
nvim_feed('ggO+\027')
|
||||
eq('+', curbuf('get_line', 0))
|
||||
eq({'+'}, curbuf('get_lines', 0, 1, true))
|
||||
nvim_feed('GO*\027')
|
||||
eq(' *', curbuf('get_line', 2))
|
||||
eq({' *'}, curbuf('get_lines', 2, 3, true))
|
||||
nvim_feed('ggO /\027')
|
||||
eq(' /', curbuf('get_line', 0))
|
||||
eq({' /'}, curbuf('get_lines', 0, 1, true))
|
||||
nvim_feed('ggOx\027')
|
||||
eq('x', curbuf('get_line', 0))
|
||||
eq({'x'}, curbuf('get_lines', 0, 1, true))
|
||||
end)
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user