diff options
| author | Luke Kershaw <35707277+l-kershaw@users.noreply.github.com> | 2021-09-19 19:38:00 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-19 20:38:00 +0200 |
| commit | f0db7d3a5997cbd7e60638a071c1b661a854dfc6 (patch) | |
| tree | 77850c0c236a0db2010ce817ed92296308613083 /lua/telescope/config.lua | |
| parent | e53cf55225e30932237ed7bba5aa45c09eb08e87 (diff) | |
feat: `truncate` option for `path_display` (#1254)
Diffstat (limited to 'lua/telescope/config.lua')
| -rw-r--r-- | lua/telescope/config.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/telescope/config.lua b/lua/telescope/config.lua index 554d801..7a54ec3 100644 --- a/lua/telescope/config.lua +++ b/lua/telescope/config.lua @@ -256,6 +256,8 @@ append( 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`. |
