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

Add option to disable the previewer #86

Closed svanharmelen closed 1 year ago

svanharmelen commented 1 year ago

During testing I learned that being able to use a sorter that doesn't has the right context (doesn't take into account the scores) somewhat defeats the purpose of this extension.

So I decided to limit my efforts to only adding an option to disable the previewer as that is of course not required but just a personal preference.

I reordered the state map (in code and in the docs) to improve readability, but of course if that is not desired I can revert that part! So just let me know if that is the case...

Closes #84

Conni2461 commented 1 year ago

previewer can normally be disabled with previewer = false as opts. So Telescope frecency frecency previewer=false should already work

svanharmelen commented 1 year ago

Are you sure? I wasn't able to make that work for me... Also looking at the code I referenced in #84 I wonder if your statement is correct.

Could be I'm just doing something wrong of course...

svanharmelen commented 1 year ago

Guess I'll just close this again as I no longer use telescope-frecency and apparently nobody else found this suggestion helpful or useful 👍🏻