From a5bd221680745338152e93c5f29b14ef517ed8cb Mon Sep 17 00:00:00 2001 From: Akianonymus Date: Fri, 9 Jul 2021 10:12:57 +0530 Subject: [PATCH] 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 --- lua/plugins/telescope.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua index c18b19a..151733b 100644 --- a/lua/plugins/telescope.lua +++ b/lua/plugins/telescope.lua @@ -35,7 +35,7 @@ M.config = function() file_sorter = require "telescope.sorters".get_fuzzy_file, file_ignore_patterns = {}, generic_sorter = require "telescope.sorters".get_generic_fuzzy_sorter, - shorten_path = true, + path_display = shorten, winblend = 0, border = {}, borderchars = {"─", "│", "─", "│", "╭", "╮", "╯", "╰"},