aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/help.lua
Commit message (Collapse)AuthorAge
* fix(runtime): stop treesitter highlight in b:undo_ftplugin (#29533)zeertzjq2024-07-03
| | | | | | It seems that nvim-treesitter stops treesitter highlight when changing filetype, so it makes sense for builtin ftplugins to do this as well. Use :call and v:lua here to allow separation with '|'.
* fix(runtime): update b:undo_ftplugin in Lua runtime files (#29529)zeertzjq2024-07-01
| | | | Related to #29506, but adding vim.treesitter.stop() to b:undo_ftplugin doesn't solve the problem yet.
* feat(help): use treesitter for table of contentsChristian Clason2024-06-09
| | | | | | Problem: Creating the table of contents for `gO` is complicated. Solution: Use treesitter instead.
* docs: apply current colorscheme to default highlight groupsChristian Clason2023-12-20
| | | | | | Problem: Not all default highlight groups show their actual colors. Solution: Refactor `vimhelp.lua` and apply it to all relevant lists (UI groups, syntax groups, treesitter groups, LSP groups, diagnostic groups).
* feat(treesitter): highlight help files by default (#26347)Christian Clason2023-12-03
|
* feat(runtime): highlight hl groups in syntax.txt (#25050)zeertzjq2023-09-08
- Add runtime/lua/vim/vimhelp.lua, which is a translation of Vim's runtime/import/dist/vimhelp.vim. - Unlike Vim, run the highlighting from an ftplugin file instead of a syntax file, so that it is run even if using treesitter.