chore: update path_display (#285)

navigator
Tuan Nguyen 3 years ago committed by GitHub
parent fdb2fa115d
commit 1d78add91e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -37,7 +37,10 @@ telescope.setup {
file_sorter = require("telescope.sorters").get_fuzzy_file,
file_ignore_patterns = {},
generic_sorter = require("telescope.sorters").get_generic_fuzzy_sorter,
path_display = { "absolute" },
path_display = function(opts, path)
local tail = require("telescope.utils").path_tail(path)
return string.format("%s (%s)", tail, path)
end,
winblend = 0,
border = {},
borderchars = { "", "", "", "", "", "", "", "" },

Loading…
Cancel
Save