summaryrefslogtreecommitdiff
path: root/lua/telescope
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 /lua/telescope
parent82e3cc322ad87b262aef092cb7475e769740e83a (diff)
typo: `which_key` (#1560)
Diffstat (limited to 'lua/telescope')
-rw-r--r--lua/telescope/actions/generate.lua2
-rw-r--r--lua/telescope/actions/init.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/lua/telescope/actions/generate.lua b/lua/telescope/actions/generate.lua
index 40fc4b7..6d9dc35 100644
--- a/lua/telescope/actions/generate.lua
+++ b/lua/telescope/actions/generate.lua
@@ -9,7 +9,7 @@
--- 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
diff --git a/lua/telescope/actions/init.lua b/lua/telescope/actions/init.lua
index 9cdc02a..13751ff 100644
--- a/lua/telescope/actions/init.lua
+++ b/lua/telescope/actions/init.lua
@@ -867,7 +867,7 @@ end
--- Display the keymaps of registered actions similar to which-key.nvim.<br>
--- - Notes:
---- - The defaults can be overridden via |action_generate.toggle_registered_actions|.
+--- - The defaults can be overridden via |action_generate.which_key|.
---@param prompt_bufnr number: The prompt bufnr
actions.which_key = function(prompt_bufnr, opts)
opts = opts or {}