Closed ndaman closed 3 years ago
Hi @mzlogin and @ndaman, can I ask you what is the status of this request? I may have missed something, I see the project is active yet I did not found any comment about this feature. Thanks for your response.
I don't think this PR was ever merged, so I made my own fork with it implemented (it was a very small change).
That is pitty, anyway thanks for the reply, I will probably use your solution as soon as I will need it again.
@ndaman @langer-jaros I'm sorry I didn't process this Pull Request in time. I'll review it now.
Merged, thx! @ndaman @langer-jaros
Defined three new global variables to govern new options
g:vmt_link is boolean, when true (default) the TOC generates links as before, when false only the header is listed in the toc with no link
g:vmt_min_level and g:vmt_max_level define the minimum and maximum header levels to display in the toc. If you have subheadings that you do not wish displayed in the TOC you can set these options accordingly.