nvim-telescope / telescope-frecency.nvim

A telescope.nvim extension that offers intelligent prioritization when selecting files from your editing history.
MIT License
777 stars 37 forks source link

setting to avoid the prompt to remove outdated entries #17

Closed teto closed 3 years ago

teto commented 3 years ago

I get prompted daily and it's annoying, especially as my database is certainly very small and thus it shouldn't be an issue (or some inexisting files may appear ?). Triggered when I switch branch etc.

Not sure what the policy should be:

sunjon commented 3 years ago

Let me know if https://github.com/nvim-telescope/telescope-frecency.nvim/pull/20 solves the issue for you.

It will remove the prompt and confirmation will be assumed to be true. I can add an option to disable automatic cleanups entirely too if you need, but it should still default to the current behaviour.

teto commented 3 years ago

It will remove the prompt and confirmation will be assumed to be true.

I would prefer to keep the frecency for these files since in my case they just temporarily disappear from the drive. I would rather run the cleanup function manually.

sunjon commented 3 years ago

fixed in https://github.com/nvim-telescope/telescope-frecency.nvim/pull/20 . Sorry for the delay!