aboutsummaryrefslogtreecommitdiff
path: root/test/old/testdir/test_cmdmods.vim
Commit message (Collapse)AuthorAge
* vim-patch:9.1.1608: No command-line completion for :unsilent {command}zeertzjq2025-08-09
| | | | | | | | | | | | | | Problem: No command-line completion for :unsilent {command}. Solution: Add missing command arg completion (Doug Kearns). (author) Add completion tests for all command modifiers. closes: vim/vim#17524 https://github.com/vim/vim/commit/126731c8fde545e8aedb83076badbc8a6ef1201d Co-authored-by: Doug Kearns <dougkearns@gmail.com>
* vim-patch:9.1.0748: :keep* commmands are sometimes misidentified as :kzeertzjq2025-08-09
Problem: The :keep{alt,jumps,marks,patterns} commmands are sometimes misidentified as :k. Solution: Make sure one_letter_cmd() only returns true for :k and not other :keep* commands (Doug Kearns). This currently manifests as missing completion for :keep* commands and incorrect results from fullcommand(). E.g., fullcommand("keepmarks") returns "k" rather than "keepmarks". The correct command, however, is executed as command modifiers are handled specially in do_one_cmd() rather than using find_ex_command(). Fix exists(':k') so that it returns 2 for a full match. closes: vim/vim#15742 https://github.com/vim/vim/commit/ea84202372061be9b5a9d16b360d5a17d93ccf7e Cherry-pick Test_ex_command_completion() from patch 9.1.0624. Co-authored-by: Doug Kearns <dougkearns@gmail.com>