smart-open.nvim icon indicating copy to clipboard operation
smart-open.nvim copied to clipboard

Options no_ignore, no_ignore_parent, hidden and follow

Open ilan-schemoul opened this issue 1 year ago • 2 comments

Add options no_ignore, no_ignore_parent, hidden and follow

These four options are brought from the find_files finder of Telescope. Default option for no_ignore is false therefore unlike the current behaviour all files from .gitignore will be ignored (as it is always done with Telescope and massively improve performance)

ilan-schemoul avatar Jul 07 '24 11:07 ilan-schemoul

Apologies for the late response. I am reluctant to add a bunch of options for several reasons. It adds complexity, makes testing difficult due to all the different option combinations, it makes the docs more daunting, etc.

With that said, if the default rg options aren't suitable, I think it would be better just do have an extra_rg_args option. That way, users can override even more options if they need to and we won't have to keep propagating further options into this plugin.

danielfalk avatar Oct 15 '24 14:10 danielfalk

Apologies for the late response. I am reluctant to add a bunch of options for several reasons. It adds complexity, makes testing difficult due to all the different option combinations, it makes the docs more daunting, etc.

With that said, if the default rg options aren't suitable, I think it would be better just do have an extra_rg_args option. That way, users can override even more options if they need to and we won't have to keep propagating further options into this plugin.

I can create this extra_rg_args option, it would help me a lot, because I need to follow links. What do you think?

kuryart avatar Jun 13 '25 23:06 kuryart

extra_rg_args is available on the 0.3.x branch now. Thanks for the contribution here.

danielfalk avatar Nov 16 '25 22:11 danielfalk