From 7b739f689d8159d4d94d7d913d70fbbc6e5d407c Mon Sep 17 00:00:00 2001 From: Cassin01 Date: Sun, 10 Mar 2024 14:39:26 +0900 Subject: [PATCH] update mini.nvim version --- doc/wf.txt | 52 ++++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/doc/wf.txt b/doc/wf.txt index 1427481..45ac5b5 100644 --- a/doc/wf.txt +++ b/doc/wf.txt @@ -27,11 +27,11 @@ tag char action ------------------------------------------------------------------------------ *wf.select* `select`({items}, {opts}, {on_choice}) -Parameters~ +Parameters ~ {items} items {opts} WFOptions {on_choice} `(fun(string, table)|fun(num,)` table) -Usage~ +Usage ~ `require("wf").select(items, opts, on_choice)` @@ -39,7 +39,7 @@ Usage~ ------------------------------------------------------------------------------ *wf.setup* `setup`({opts}) -Parameters~ +Parameters ~ {opts} `(optional)` WFConfig @@ -47,9 +47,9 @@ Parameters~ ------------------------------------------------------------------------------ *wf.builtin.bookmark* `bookmark`({bookmark_dirs}, {opts}) -Usage~ +Usage ~ bookmark({nvim="~/.config/nvim", zsh="~/.zshrc"}) -Parameters~ +Parameters ~ {bookmark_dirs} `(table)` {opts} `(optional)` WFOptions @@ -58,7 +58,7 @@ Parameters~ ------------------------------------------------------------------------------ *wf.builtin.buffer* `buffer`({opts}) -Parameters~ +Parameters ~ {opts} `(optional)` WFOptions @@ -66,7 +66,7 @@ Parameters~ ------------------------------------------------------------------------------ *wf.builtin.mark* `mark`({opts}) -Parameters~ +Parameters ~ {opts} `(optional)` WFOptions @@ -74,7 +74,7 @@ Parameters~ ------------------------------------------------------------------------------ *wf.builtin.register* `register`({opts}) -Parameters~ +Parameters ~ {opts} `(optional)` WFOptions @@ -82,26 +82,26 @@ Parameters~ ------------------------------------------------------------------------------ *wf.builtin.which_key* `which_key`({opts}) -Parameters~ +Parameters ~ {opts} `(optional)` WFOptions ============================================================================== ------------------------------------------------------------------------------ -Class~ +Class ~ {hl_group} string Highlight group name, e.g. "ErrorMsg" ------------------------------------------------------------------------------ -Class~ +Class ~ {WFkeymaps} -Fields~ +Fields ~ {escape} `(string)` {toggle} `(string)` ------------------------------------------------------------------------------ -Class~ +Class ~ {WFHighlight} -Fields~ +Fields ~ {WFNormal} hl_group {WFFloatBorder} hl_group {WFFloatBorderFocus} hl_group @@ -124,17 +124,17 @@ Fields~ {WFTitleFreeze} hl_group ------------------------------------------------------------------------------ -Class~ +Class ~ {WFConfig} -Fields~ +Fields ~ {theme} `(optional)` "default"|"space"|"chad" {highlight} `(optional)` WFHighlight {builtin_keymaps} WFkeymaps ------------------------------------------------------------------------------ -Class~ +Class ~ {WFBehavior} -Fields~ +Fields ~ {skip_front_duplication} `(boolean)` Example: When there are two lines: @@ -151,23 +151,23 @@ When there are two lines: At this time, the candidate is uniquely determined, so confirm the candidate before pressiong `j`. ------------------------------------------------------------------------------ -Class~ +Class ~ {Cell} -Fields~ +Fields ~ {key} `(string)` {id} `(string)` {text} `(string)` {type} "key"|"group" ------------------------------------------------------------------------------ -Class~ +Class ~ {Chunks} list of [text, hl_group] arrays, each representing a text chunk with specified highlight. hl_group element can not be omitted for not ------------------------------------------------------------------------------ -Class~ +Class ~ {WFStyle} -Fields~ +Fields ~ {border} `(string)` of window border. This can either be a string or an array. nvim_open_win @@ -179,14 +179,14 @@ nvim_open_win number a width for windows ------------------------------------------------------------------------------ -Class~ +Class ~ {WFOptions} -Fields~ +Fields ~ {title} `(string?)` {selector} "which"|"fuzzy" {text_insert_in_advance} `(string)` {key_group_dict} `(table)` -Usage~ +Usage ~ key_group_dict = { "l"="vimtex", "e"="conjure" } {prefix_size} `(number)` {sorter} `(function)`