aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-01-05 08:23:51 +0800
committerGitHub <noreply@github.com>2024-01-05 08:23:51 +0800
commitdab584408211a39962a7313b7b8c4cb7e3717a7a (patch)
treec0e7155f60f7d148674fafd576da364284008bcb /runtime
parent88eb0ad149d353c475455e4013cafa6db2a3f9f1 (diff)
downloadrneovim-dab584408211a39962a7313b7b8c4cb7e3717a7a.tar.gz
rneovim-dab584408211a39962a7313b7b8c4cb7e3717a7a.tar.bz2
rneovim-dab584408211a39962a7313b7b8c4cb7e3717a7a.zip
vim-patch:9.1.0010: Keymap completion is not available (#26888)
Problem: Keymap completion is not available Solution: Add keymap completion (Doug Kearns) Add keymap completion to the 'keymap' option, user commands and builtin completion functions. closes: vim/vim#13692 https://github.com/vim/vim/commit/81642d9d6ff5cd6a90a012b1b98632ce51eeb1a8 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/builtin.txt1
-rw-r--r--runtime/doc/map.txt1
-rw-r--r--runtime/lua/vim/_meta/vimfn.lua1
3 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 98201c0eed..5f89082b6f 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -2372,6 +2372,7 @@ getcompletion({pat}, {type} [, {filtered}]) *getcompletion()*
help help subjects
highlight highlight groups
history |:history| suboptions
+ keymap keyboard mappings
locale locale names (as output of locale -a)
mapclear buffer argument
mapping mapping name
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt
index 6f61259af0..d1f61dce85 100644
--- a/runtime/doc/map.txt
+++ b/runtime/doc/map.txt
@@ -1389,6 +1389,7 @@ completion can be enabled:
-complete=help help subjects
-complete=highlight highlight groups
-complete=history :history suboptions
+ -complete=keymap keyboard mappings
-complete=locale locale names (as output of locale -a)
-complete=lua Lua expression |:lua|
-complete=mapclear buffer argument
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua
index 02e794ce10..a763be93b9 100644
--- a/runtime/lua/vim/_meta/vimfn.lua
+++ b/runtime/lua/vim/_meta/vimfn.lua
@@ -2889,6 +2889,7 @@ function vim.fn.getcmdwintype() end
--- help help subjects
--- highlight highlight groups
--- history |:history| suboptions
+--- keymap keyboard mappings
--- locale locale names (as output of locale -a)
--- mapclear buffer argument
--- mapping mapping name