feat: truncate option for path_display (#1254)

This commit is contained in:
Luke Kershaw
2021-09-19 19:38:00 +01:00
committed by GitHub
parent e53cf55225
commit f0db7d3a59
4 changed files with 20 additions and 0 deletions

View File

@@ -191,6 +191,8 @@ telescope.setup({opts}) *telescope.setup()*
the difference between the displayed paths
- "shorten" only display the first character of each directory in
the path
- "truncate" truncates the start of the path when the whole path will
not fit
You can also specify the number of characters of each directory name
to keep by setting `path_display.shorten = num`.