nvim-telescope / telescope-frecency.nvim

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

feat: support for multi-part file extensions #215

Closed rizkyilhampra closed 2 weeks ago

rizkyilhampra commented 2 weeks ago

I commonly work with Laravel, there is a file with extension .blade.php and it has an individual icon (the Laravel logo). Currently in telescope-frecency, the file with that extension it still renders in the result picker with the PHP icon. FYI the nvim-web-devicons has this support for the icon at https://github.com/nvim-tree/nvim-web-devicons/pull/442 and telescope also has support for multi-part file extension at https://github.com/nvim-telescope/telescope.nvim/pull/2252. I think it would be nice to add this support in telescope-frecency. Thanks

rizkyilhampra commented 2 weeks ago

This PR also added support for rendering icons with files like LICENSE and .gitignore.

Before: 2024-06-20-162353_hyprshot

After: image