Reputation: 2930
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
But until now I can't find documentation of this option
Upvotes: 1
Views: 2031
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