1

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

devstefancho
  • 2,072
  • 4
  • 17
  • 34

1 Answers1

3

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.
fannheyward
  • 18,599
  • 12
  • 71
  • 109