aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/provider/python.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-08-09 07:32:55 +0800
committerzeertzjq <zeertzjq@outlook.com>2025-08-09 08:03:25 +0800
commit70bb7999f7ecae0d250d0450fca26b42b53f38fe (patch)
tree6e0d54a9cbccaa047c60d8f9e6364ca5ec13796f /runtime/lua/vim/provider/python.lua
parenta0d94ac4692a046e88850d512112754c4b8d7013 (diff)
downloadrneovim-70bb7999f7ecae0d250d0450fca26b42b53f38fe.tar.gz
rneovim-70bb7999f7ecae0d250d0450fca26b42b53f38fe.tar.bz2
rneovim-70bb7999f7ecae0d250d0450fca26b42b53f38fe.zip
vim-patch:9.1.0748: :keep* commmands are sometimes misidentified as :k
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>
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions