typo: which_key (#1560)
This commit is contained in:
@@ -2163,8 +2163,7 @@ actions.which_key({prompt_bufnr}) *actions.which_key()*
|
|||||||
Display the keymaps of registered actions similar to which-key.nvim.
|
Display the keymaps of registered actions similar to which-key.nvim.
|
||||||
|
|
||||||
- Notes:
|
- Notes:
|
||||||
- The defaults can be overridden via
|
- The defaults can be overridden via |action_generate.which_key|.
|
||||||
|action_generate.toggle_registered_actions|.
|
|
||||||
|
|
||||||
|
|
||||||
Parameters: ~
|
Parameters: ~
|
||||||
@@ -2413,7 +2412,7 @@ General usage:
|
|||||||
defaults = {
|
defaults = {
|
||||||
mappings = {
|
mappings = {
|
||||||
n = {
|
n = {
|
||||||
["?"] = action_generate.toggle_registered_actions {
|
["?"] = action_generate.which_key {
|
||||||
name_width = 20, -- typically leads to smaller floats
|
name_width = 20, -- typically leads to smaller floats
|
||||||
max_height = 0.5, -- increase potential maximum height
|
max_height = 0.5, -- increase potential maximum height
|
||||||
seperator = " > ", -- change sep between mode, keybind, and name
|
seperator = " > ", -- change sep between mode, keybind, and name
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
--- defaults = {
|
--- defaults = {
|
||||||
--- mappings = {
|
--- mappings = {
|
||||||
--- n = {
|
--- n = {
|
||||||
--- ["?"] = action_generate.toggle_registered_actions {
|
--- ["?"] = action_generate.which_key {
|
||||||
--- name_width = 20, -- typically leads to smaller floats
|
--- name_width = 20, -- typically leads to smaller floats
|
||||||
--- max_height = 0.5, -- increase potential maximum height
|
--- max_height = 0.5, -- increase potential maximum height
|
||||||
--- seperator = " > ", -- change sep between mode, keybind, and name
|
--- seperator = " > ", -- change sep between mode, keybind, and name
|
||||||
|
|||||||
@@ -867,7 +867,7 @@ end
|
|||||||
|
|
||||||
--- Display the keymaps of registered actions similar to which-key.nvim.<br>
|
--- Display the keymaps of registered actions similar to which-key.nvim.<br>
|
||||||
--- - Notes:
|
--- - 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
|
---@param prompt_bufnr number: The prompt bufnr
|
||||||
actions.which_key = function(prompt_bufnr, opts)
|
actions.which_key = function(prompt_bufnr, opts)
|
||||||
opts = opts or {}
|
opts = opts or {}
|
||||||
|
|||||||
Reference in New Issue
Block a user