summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGenesisTMS <nemi@skaut.cz>2021-12-06 21:12:42 +0100
committerGitHub <noreply@github.com>2021-12-06 21:12:42 +0100
commita88d92417d63fa8026a501f0f5e1ddb8752ce408 (patch)
tree1d54a6947f4b513229204e657bb90f9232d8eeb0 /doc
parent82e3cc322ad87b262aef092cb7475e769740e83a (diff)
typo: `which_key` (#1560)
Diffstat (limited to 'doc')
-rw-r--r--doc/telescope.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/telescope.txt b/doc/telescope.txt
index 50d61f9..d453e5f 100644
--- a/doc/telescope.txt
+++ b/doc/telescope.txt
@@ -2163,8 +2163,7 @@ actions.which_key({prompt_bufnr}) *actions.which_key()*
Display the keymaps of registered actions similar to which-key.nvim.
- Notes:
- - The defaults can be overridden via
- |action_generate.toggle_registered_actions|.
+ - The defaults can be overridden via |action_generate.which_key|.
Parameters: ~
@@ -2413,7 +2412,7 @@ General usage:
defaults = {
mappings = {
n = {
- ["?"] = action_generate.toggle_registered_actions {
+ ["?"] = action_generate.which_key {
name_width = 20, -- typically leads to smaller floats
max_height = 0.5, -- increase potential maximum height
seperator = " > ", -- change sep between mode, keybind, and name