]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1533: helptoc: does not handle code sections in markdown well v9.1.1533
authorChristian Brabandt <cb@256bit.org>
Wed, 9 Jul 2025 18:26:07 +0000 (20:26 +0200)
committerChristian Brabandt <cb@256bit.org>
Wed, 9 Jul 2025 18:26:07 +0000 (20:26 +0200)
commit6715b3510e8bf3814a91a39e9c15e772018359e2
treed1a40b0a5e429143a23f08be5134726d5a763ad6
parent3987eac5725087177fdb7bcf91ef6c1040820295
patch 9.1.1533: helptoc: does not handle code sections in markdown well

Problem:  helptoc: does not handle code sections in markdown well
          (VimWei)
Solution: Skip over fenced code sections (lacygoill), add a test.

fixes: #17699
closes: #17710

Co-authored-by: lagygoill <lacygoill@lacygoill.me>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/pack/dist/opt/helptoc/autoload/helptoc.vim
src/testdir/Make_all.mak
src/testdir/dumps/Test_helptoc_markdown_01.dump [new file with mode: 0644]
src/testdir/test_plugin_helptoc.vim [new file with mode: 0644]
src/version.c