summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/ftplugin/help.vim
AgeCommit message (Collapse)AuthorFiles
2026-03-15feat(help): super K (":help!") guesses tag at cursor #36205Justin M. Keyes1
Problem: `K` in help files may fail in some noisy text. Example: (`fun(config: vim.lsp.ClientConfig): boolean`) ^cursor Solution: - `:help!` (bang, no args) activates DWIM behavior: tries `<cWORD>`, then trims punctuation until a valid tag is found. - Set `keywordprg=:help!` by default. - Does not affect `CTRL-]`, that is still fully "tags" based.
2025-08-08vim-patch:adfea9b: runtime(help): Unset `'comments'` and `'cms'` options ↵Phạm Bình An1
(#35232) Problem: Vim's help file doesn't have any syntax for comments, but 'comments' and 'commentstring' are still set in the help buffer. Solution: Unset 'comments' and 'cms' in help buffer closes: vim/vim#17889 https://github.com/vim/vim/commit/adfea9b4e68f39744fcb6ce7840e1c3c3b4637db
2025-04-10vim-patch:0b540c6: runtime(help): add omni completion and 'iskeyword' to ↵Phạm Bình An1
filetype plugin (#33398) Problem: - Help tags provide a good way to navigate the Vim documentation, but many help documents don't use them effectively. I think one of the reasons is that help writers have to look up help tags manually with `:help` command, which is not very convenient. - 'iskeyword' is only set for help buffers opened by `:help` command. That means if I'm editing a help file, I cannot jump to tag in same file using `Ctrl-]` unless I manually set it, which is annoying. Solution: - Add omni completion for Vim help tags. - Set 'iskeyword' for `ft-help` closes: vim/vim#17073 https://github.com/vim/vim/commit/0b540c6f381c63c2d80cc0aaef76b0df008b9f86 Co-authored-by: Christian Brabandt <cb@256bit.org>
2024-06-09feat(help): use treesitter for table of contentsChristian Clason1
Problem: Creating the table of contents for `gO` is complicated. Solution: Use treesitter instead.
2024-02-20feat(help): hide filename of "gO" outline using conceal #27547itchyny1
Help outlines, invoked by `gO`, displays the help section titles in the location list window. This feature is implemented by setting the buffer lines after opening the window, but this implementation breaks the assumption that the quickfix window texts are consistently constructed by the quickfix list items. I think we can use the conceal feature here. Using conceal here improves interoperability between quickfix plugins, and also simplifies the outline implementation. Originally reported at https://github.com/itchyny/vim-qfedit/issues/12
2019-07-29vim-patch:4c05fa08c973Justin M. Keyes1
Update runtime files https://github.com/vim/vim/commit/4c05fa08c9739e307ddc88ac91ba6d208f1fd68e
2017-11-06vim-patch:214641f77df6Justin M. Keyes1
Runtime file updates. https://github.com/vim/vim/commit/214641f77df6f318a4b3a0b09723c19859a103f4 N/A: vim-patch:26a280c47a1c
2017-10-21help, man.vim: change "outline" map to gO (#7405)Justin M. Keyes1
2017-07-08runtime: K: prefer Vim help instead of man #3104Peter Renström1
2017-05-01help, man.vim: "outline" (TOC) feature #5169Tommy Allen1
2014-07-29re-integrate runtime/ vim-patch:0 #938Justin M. Keyes1
Vim runtime files based on 7.4.384 / hg changeset 7090d7f160f7 Excluding: Amiga icons (*.info, icons/) doc/hangulin.txt tutor/ spell/ lang/ (only used for menu translations) macros/maze/, macros/hanoi/, macros/life/, macros/urm/ These were used to test vi compatibility. termcap "Demonstration of a termcap file (for the Amiga and Archimedes)" Helped-by: Rich Wareham <rjw57@cam.ac.uk> Helped-by: John <john.schmidt.h@gmail.com> Helped-by: Yann <yann@yann-salaun.com> Helped-by: Christophe Badoit <c.badoit@lesiteimmo.com> Helped-by: drasill <github@tof2k.com> Helped-by: Tae Sandoval Murgan <taecilla@gmail.com> Helped-by: Lowe Thiderman <lowe.thiderman@gmail.com>