aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/checkhealth.lua
Commit message (Collapse)AuthorAge
* fix(ftplugin): port checkhealth ftplugin to LuaBarrett Ruth2026-07-14
|
* fix(health): set 'tags' for help filetype #39742Marcus Caisey2026-05-11
| | | | | | | | | | | | | | | Problem: The `:checkhealth` buffer uses the help syntax, so help tag links (e.g. `|clipboard|`) are highlighted like they are in help buffers. However, unlike in help buffers, `CTRL-]` doesn't jump to the relevant help file. I expect that if the `:checkhealth` buffer looks like a help buffer, then it should behave like one where it makes sense. This comment from /r/neovim suggests that this was the intention: https://www.reddit.com/r/neovim/comments/5ghv3r/see_clipboard_how/dascnry/. Solution: Set `'tags'` in `checkhealth` buffers so that `:tag` and friends look for tags in the help tags files.
* feat(lua): replace `buffer` with `buf` in vim.keymap.set/del #38360skewb1k2026-03-21
| | | | | | 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`.
* fix(health): floating window closes when opening TOC (gO) #34794glepnir2025-07-08
| | | | | 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.
* fix(runtime): gO always says "Help TOC" #32971Justin M. Keyes2025-03-19
| | | | | | | Problem: gO always says "Help TOC". Solution: Use a generic title instead.
* 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.