Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix wrong prefix of CocList command options, ref commit 1d3b424 #4631

Merged
merged 1 commit into from
Jun 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 22 additions & 20 deletions doc/coc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3497,49 +3497,52 @@ LIST COMMAND *coc-list-command*
*coc-list-options*
Options of CocList command~

----top
--top

Show list as top window.

----tab
--tab

Open list in new tabpage.

----normal
--normal

Start list in normal mode, recommended for short list.

----no-sort
--no-sort

Disable sort made by fuzzy score or most recently used, use it when
it's already sorted.

----input={input}
--input={input}

Specify the input on session start.

----height={number}
--height={number}

Specify the height of list window, override configuration
|coc-config-list-height|. No effect when list opened in new tab by
`--tab`.

----strict
-S
--strict, -S

Use strict matching instead of fuzzy matching.

----regex
-R
--regex, -R

Use regex matching instead of fuzzy matching.

----ignore-case
--ignore-case

Ignore case when using strict matching or regex matching.

----number-select
-N
--number-select, -N

Type a line number to select an item and invoke the default action on
insert mode. Type `0` to select the 10th line.

----interactive
-I
--interactive, -I

Use interactive mode, list items would be reloaded on input
change, filter and sort would be done by list implementation.

Expand All @@ -3549,23 +3552,22 @@ Options of CocList command~
means options including `--strict`, `--no-sort`, `--regex`,
`--ignore-case` would not work at all.

----auto-preview
-A
--auto-preview, -A

Start a preview for the current item on the visible list.

----no-quit
--no-quit

Not quit list session after invoke action.

Note: you may need to refresh the list for current state.

----first
--first

Invoke default action for first list item on list open.
Nothing happens when the list is empty.

----reverse
--reverse

Reverse the order of list items shown in the window, the bottom line
would shown the first item.
Expand Down