feat: customize path display

This commit is contained in:
Stevan Freeborn
2026-04-11 14:51:56 -05:00
parent fec0810584
commit e7659a6066
+6
View File
@@ -46,6 +46,12 @@ return {
"nvim-telescope/telescope-ui-select.nvim",
config = function()
require("telescope").setup({
defaults = {
path_display = function(_, path)
local tail = require("telescope.utils").path_tail(path)
return string.format("%s (%s)", tail, path)
end,
},
extensions = {
["ui-select"] = {
require("telescope.themes").get_dropdown({}),