vim-patch:2323f22: runtime(new-tutor): add chapter two to the interactive tutorial

closes: vim/vim#16803

2323f225ca

Co-authored-by: RestorerZ <restorer@mail2k.ru>
This commit is contained in:
brianhuster
2025-05-23 08:07:25 +07:00
parent 927927e143
commit 41c850e2c8
5 changed files with 249 additions and 40 deletions

View File

@ -93,14 +93,14 @@ describe(':Tutor', function()
{0: } |
]]
feed(':700<CR>zt')
feed(':702<CR>zt')
screen:expect(expected)
end)
it('applies hyperlink highlighting', function()
local expected = [[
{0: }^ |
{0: }{3:#}{5: CONCLUSION} |
{0: }^This concludes Chapter 1 of the Vim Tutor. Consider continuing with |
{0: }{2:Chapter 2}. |
{0: } |
{0: }This was intended to give a brief overview of the Neovim editor, just enough to|
{0: }allow you to use it fairly easily. It is far from complete as Neovim has |
@ -131,7 +131,7 @@ describe(':Tutor', function()
{0: }University. E-mail: {2:bware@mines.colorado.edu}. |
]]
feed(':978<CR>zt')
feed(':983<CR>zt')
screen:expect(expected)
end)
end)