aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/markdown.lua
Commit message (Collapse)AuthorAge
* fix(runtime): avoid E31 in ftplugin (#32578)phanium2025-02-22
| | | fix: twice nunmap in ftplugin
* feat(treesitter): table of contents for checkhealth, markdown (#32282)Christian Clason2025-02-22
Problem: It's difficult to navigate large structured text files (vim help, checkhealth, Markdown). Solution: Support `gO` for table of contents and `]]`/`[[` for moving between headings for all these filetypes using treesitter queries. Refactor: colorization of highlight groups is moved to the `help` ftplugin while headings-related functionality is implemented in a private `vim.treesitter` module for possible future use for other filetypes.