aboutsummaryrefslogtreecommitdiff
path: root/test/old/testdir/test_help.vim
Commit message (Collapse)AuthorAge
* feat(help): super K (":help!") guesses tag at cursor #36205Justin M. Keyes2026-03-15
| | | | | | | | | | | | | 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.
* refactor(help): move local-additions to Lua #37831Yochem van Rosmalen2026-02-14
| | | | | | | | | | | Problem: - ~200 line function of hard-to-maintain C code. - Local Addition section looks messy because of the varying description formats. Solution: - Move code to Lua. - Have a best-effort approach where short descriptions are right aligned, giving a cleaner look. Long descriptions are untouched.
* vim-patch:9.1.2133: Another case of buffer overflow with 'helpfile' (#37746)zeertzjq2026-02-06
| | | | | | | | Problem: Another case of buffer overflow with 'helpfile'. Solution: Leave room for "tags" in the buffer (zeertzjq). closes: vim/vim#19340 https://github.com/vim/vim/commit/21d591fb12b08b52d92253bf9ac4b866475d62d6
* vim-patch:9.1.2132: [security]: buffer-overflow in 'helpfile' option ↵zeertzjq2026-02-06
| | | | | | | | | | | | | | handling (#37735) Problem: [security]: buffer-overflow in 'helpfile' option handling by using strcpy without bound checks (Rahul Hoysala) Solution: Limit strncpy to the length of the buffer (MAXPATHL) Github Advisory: https://github.com/vim/vim/security/advisories/GHSA-5w93-4g67-mm43 https://github.com/vim/vim/commit/0714b15940b245108e6e9d7aa2260dd849a26fa9 Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:c4dc4d8: runtime(syntax-tests): Add :help command termination ↵zeertzjq2026-01-12
| | | | | | | | | | | | | | | tests (#37366) Problem: The :help command lacks command termination tests. Solution: Add tests for command termination at "|", "^M" and "^J". - Check special handling of "|" in arguments. - Update the Vim syntax file. closes: vim/vim#18932 https://github.com/vim/vim/commit/c4dc4d8f1eca8e3989c5f7770b062e3cf344a936 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
* vim-patch:9.1.1979: :helpclose allows range and counts (#36966)zeertzjq2025-12-15
| | | | | | | | | | | Problem: :helpclose incorrectly accepts a range and a count. Solution: Remove EX_COUNT and EX_RANGE from the command definition. (Doug Kearns) closes: vim/vim#18917 https://github.com/vim/vim/commit/4c141bae3bd7afd7eb63c72c835d356fbdff61e2 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
* feat(runtime): undotree #35627altermo2025-10-07
| | | | | | | Problem No builtin way to visualize and navigate the undo-tree. Solution Include an "opt" plugin.
* vim-patch:9.1.1754: :helptags doesn't skip examples with syntaxzeertzjq2025-09-12
| | | | | | | | | | | Problem: :helptags doesn't skip examples with syntax (Evgeni Chasnovski) Solution: Check for examples with syntax (zeertzjq). fixes: vim/vim#18273 closes: vim/vim#18277 https://github.com/vim/vim/commit/6f020cde569073622cc085251e47d82323d5c4bd
* vim-patch:partial:9.0.0323: using common name in tests leads to flaky testszeertzjq2025-09-12
| | | | | | | | | | | Problem: Using common name in tests leads to flaky tests. Solution: Rename files and directories to be more specific. https://github.com/vim/vim/commit/3b0d70f4ff436cb144683dafd956e8a3ee485a90 This includes only test_help.vim changes. Co-authored-by: Bram Moolenaar <Bram@vim.org>
* docs: rename builtin.txt, eval.txt #34212Phạm Bình An2025-05-30
| | | | | | | | | | | | Problem: Despite the name, `builtin.txt` only includes Vimscript functions, which is confusing, especially to people who only use Lua to configure Nvim Solution: From justinmk's suggestion - Rename `builtin.txt` to `vimfn.txt` - Rename `eval.txt` to `vimeval.txt` - The tags `*builtin.txt*` and `*eval.txt*` should be kept for Vim-patches Closes #33743
* vim-patch:9.1.1357: Vim incorrectly escapes tags with "[" in a help bufferbrianhuster2025-05-02
| | | | | | | | | | | | | | | Problem: Vim incorrectly escapes tags containing "[" in a help buffer Solution: check if the buffer has the "help" filetype set, instead of already being a help buffer (Phạm Bình An) fixes: vim/vim#17224 closes: vim/vim#17232 https://github.com/vim/vim/commit/6af20a9be3312045c38ca24b93f2d5d0d70da0b1 Co-authored-by: Phạm Bình An <phambinhanctb2004@gmail.com> Co-authored-by: Christian Brabandt <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
* test: move oldtests to test directory (#22536)dundargoc2023-03-07
The new oldtest directory is in test/old/testdir. The reason for this is that many tests have hardcoded the parent directory name to be 'testdir'.