summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/ftplugin/checkhealth.lua
AgeCommit message (Collapse)AuthorFiles
2026-03-21feat(lua): replace `buffer` with `buf` in vim.keymap.set/del #38360skewb1k1
The `buffer` option remains functional but is now undocumented. Providing both will raise an error. Since providing `buf` was disallowed before, there is no code that will break due to using `buffer` alongside `buf`.
2025-07-08fix(health): floating window closes when opening TOC (gO) #34794glepnir1
Problem: Health check floating window gets closed when pressing 'gO' to show TOC because LSP floating preview system auto-closes on BufEnter events triggered by :lopen. Solution: Temporarily disable BufEnter event for the current window during TOC operations and adjust window layout to prevent overlap.
2025-03-19fix(runtime): gO always says "Help TOC" #32971Justin M. Keyes1
Problem: gO always says "Help TOC". Solution: Use a generic title instead.
2025-02-22fix(runtime): avoid E31 in ftplugin (#32578)phanium1
fix: twice nunmap in ftplugin
2025-02-22feat(treesitter): table of contents for checkhealth, markdown (#32282)Christian Clason1
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.