diff options
| author | Vivianne <puttabutta@gmail.com> | 2022-03-04 04:31:25 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-04 13:31:25 +0100 |
| commit | 1ebf53d8db12ee500d87907ae520d0115fad5181 (patch) | |
| tree | 73bcf22e89432ccd99dcb5ab6ff5e30ac57bcbea | |
| parent | d2beb22d20cb09182ede5c5f5856d814a37ae85a (diff) | |
docs: fix typo 'seperator' in documentation (#1767)
| -rw-r--r-- | doc/telescope.txt | 6 | ||||
| -rw-r--r-- | lua/telescope/actions/generate.lua | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/doc/telescope.txt b/doc/telescope.txt index 255e85f..1aec296 100644 --- a/doc/telescope.txt +++ b/doc/telescope.txt @@ -2425,7 +2425,7 @@ General usage: ["?"] = 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 + separator = " > ", -- change sep between mode, keybind, and name close_with_action = false, -- do not close float on action }, }, @@ -2461,7 +2461,7 @@ action_generate.which_key({opts}) *action_generate.which_key()* {name_width} (number) fixed width of action name to be shown (default: 30) {column_padding} (string) string to split; can be used for - vertical seperator (default: " ") + vertical separator (default: " ") {mode_hl} (string) hl group of mode (default: TelescopeResultsConstant) {keybind_hl} (string) hl group of keybind (default: @@ -2472,7 +2472,7 @@ action_generate.which_key({opts}) *action_generate.which_key()* keybinds are shown (default: 4) {line_padding} (number) row padding in top and bottom of float (default: 1) - {separator} (string) seperator string between mode, key + {separator} (string) separator string between mode, key bindings, and action (default: " -> ") {close_with_action} (boolean) registered action will close diff --git a/lua/telescope/actions/generate.lua b/lua/telescope/actions/generate.lua index 6d9dc35..487894d 100644 --- a/lua/telescope/actions/generate.lua +++ b/lua/telescope/actions/generate.lua @@ -12,7 +12,7 @@ --- ["?"] = 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 +--- separator = " > ", -- change sep between mode, keybind, and name --- close_with_action = false, -- do not close float on action --- }, --- }, @@ -36,13 +36,13 @@ local action_generate = {} ---@field mode_width number: fixed width of mode to be shown (default: 1) ---@field keybind_width number: fixed width of keybind to be shown (default: 7) ---@field name_width number: fixed width of action name to be shown (default: 30) ----@field column_padding string: string to split; can be used for vertical seperator (default: " ") +---@field column_padding string: string to split; can be used for vertical separator (default: " ") ---@field mode_hl string: hl group of mode (default: TelescopeResultsConstant) ---@field keybind_hl string: hl group of keybind (default: TelescopeResultsVariable) ---@field name_hl string: hl group of action name (default: TelescopeResultsFunction) ---@field column_indent number: number of left-most spaces before keybinds are shown (default: 4) ---@field line_padding number: row padding in top and bottom of float (default: 1) ----@field separator string: seperator string between mode, key bindings, and action (default: " -> ") +---@field separator string: separator string between mode, key bindings, and action (default: " -> ") ---@field close_with_action boolean: registered action will close keymap float (default: true) ---@field normal_hl string: winhl of "Normal" for keymap hints floating window (default: "TelescopePrompt") ---@field border_hl string: winhl of "Normal" for keymap borders (default: "TelescopePromptBorder") |
