]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1404: wrong link to Chapter 2 in new-tutor v9.1.1404
authorPhạm Bình An <111893501+brianhuster@users.noreply.github.com>
Thu, 22 May 2025 20:53:28 +0000 (22:53 +0200)
committerChristian Brabandt <cb@256bit.org>
Thu, 22 May 2025 20:53:28 +0000 (22:53 +0200)
commite8302da74aee55fe8f6496b5b711fed7d92318c5
treec7a12880c2693faa9b3d252111d952df26bbed28
parentf4b2fce71c3b5a4f1cada0e852393efbd493e331
patch 9.1.1404: wrong link to Chapter 2 in new-tutor

Problem:  wrong link to Chapter 2 in vim-01-beginner.tutor
Solution: Fix the link to Chapter 2, add test for links in tutor files
          (Phạm Bình An)

In order to write the test, I expose the function `s:GlobTutorials` as
`tutor#GlobTutorials` and make it also accept a `locale` argument.

closes: #17356

Signed-off-by: Phạm Bình An <111893501+brianhuster@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/autoload/tutor.vim
runtime/tutor/en/vim-01-beginner.tutor
src/testdir/test_plugin_tutor.vim
src/version.c