devstefancho
devstefancho

Reputation: 2930

I want to know :CocSearch /pattern/ -A <number>

I use Neovim with Plugin Coc

when I use :CocSearch /some pattern/ with option -A <number>

with that command, It opens Search results about files of directory

For example

:CocSearch /some pattern/ -A 20

I want to know "-A and number" option meaning


as far as I know, if I increase the number then I got more relative lines of the result (Vscode has same feature)

But until now I can't find documentation of this option

Upvotes: 1

Views: 2031

Answers (1)

fannheyward
fannheyward

Reputation: 19297

CocSearch use https://github.com/BurntSushi/ripgrep to do search, -A is rg's arg:

-A, --after-context <NUM>
        Show NUM lines after each match.

Upvotes: 3

Related Questions