@mfussenegger, this is basically your proposed snippet in #15. The additional string match enforces the expected selection format, namely {filename} : {line-number} : {search-preview}, and maps the search input to nil if zero results are found.
I have added usage examples for ag and rg to the documentation and tested both while working on finishing my personal Neovim config.
What do you think about adding this to the main branch?
@mfussenegger, this is basically your proposed snippet in #15. The additional string match enforces the expected selection format, namely
{filename} : {line-number} : {search-preview}
, and maps the search input tonil
if zero results are found.I have added usage examples for
ag
andrg
to the documentation and tested both while working on finishing my personal Neovim config.What do you think about adding this to the
main
branch?