fdschmidt93 / telescope-egrepify.nvim

Variable user customization for telescope.live_grep to set rg flags on-the-fly
MIT License
122 stars 13 forks source link

fix(entry_maker): use the un-transformed filename to determine title's devicon #47

Closed tsakirist closed 2 months ago

tsakirist commented 2 months ago

To determine the devicon for a filename, we should avoid passing in the transformed display name, as the result can vary depending on the path_display telescope setting, potentially leading to undesired outcomes.

For instance, with the following telescope path_display setting, the result can be seen in the attached image.

    require("telescope").setup {
        defaults = {
             path_display = { "filename_first" },
        }
    }

image