telescope.lua: Use path_display instead of shorten_path

shorten_path is deprecated now

Reference: https://github.com/nvim-telescope/telescope.nvim/wiki/Path-Display-Configuration
This commit is contained in:
Akianonymus 2021-07-09 10:12:57 +05:30
parent 9f8ce72e55
commit a5bd221680
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ M.config = function()
file_sorter = require "telescope.sorters".get_fuzzy_file, file_sorter = require "telescope.sorters".get_fuzzy_file,
file_ignore_patterns = {}, file_ignore_patterns = {},
generic_sorter = require "telescope.sorters".get_generic_fuzzy_sorter, generic_sorter = require "telescope.sorters".get_generic_fuzzy_sorter,
shorten_path = true, path_display = shorten,
winblend = 0, winblend = 0,
border = {}, border = {},
borderchars = {"", "", "", "", "", "", "", ""}, borderchars = {"", "", "", "", "", "", "", ""},