From 1d17cc4abc493d20b4aba36569e8805c2382ea7b Mon Sep 17 00:00:00 2001 From: qualious Date: Sun, 12 Sep 2021 22:14:00 +0300 Subject: feat: smart path (#914) path_display = { "smart" } Co-authored-by: Deniz Co-authored-by: Simon Hauser --- lua/telescope/config.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lua/telescope/config.lua') diff --git a/lua/telescope/config.lua b/lua/telescope/config.lua index d58b94e..c66278f 100644 --- a/lua/telescope/config.lua +++ b/lua/telescope/config.lua @@ -201,6 +201,8 @@ local telescope_defaults = { - "hidden" hide file names - "tail" only display the file name, and not the path - "absolute" display absolute paths + - "smart" remove as much from the path as possible to only show + the difference between the displayed paths - "shorten" only display the first character of each directory in the path -- cgit v1.2.3