diff options
| author | tami5 <65782666+tami5@users.noreply.github.com> | 2021-09-20 12:52:59 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-20 12:52:59 +0300 |
| commit | 60660334c70d9d81dccc10a563e01920b9455e76 (patch) | |
| tree | 856d8503c209e4c9079b3e64df0b966f21db2ed0 /doc | |
| parent | f0db7d3a5997cbd7e60638a071c1b661a854dfc6 (diff) | |
feat(defaults): enable customization of path_display.truncate (#1264)
followup to https://github.com/nvim-telescope/telescope.nvim/pull/1254
and implementation of
https://github.com/nvim-telescope/telescope.nvim/pull/1254#issuecomment-922527270
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/telescope.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/telescope.txt b/doc/telescope.txt index e479d1e..de019dd 100644 --- a/doc/telescope.txt +++ b/doc/telescope.txt @@ -192,7 +192,8 @@ telescope.setup({opts}) *telescope.setup()* - "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 + not fit. To increase the the gap between the path and the edge. + set truncate to number `truncate = 3` You can also specify the number of characters of each directory name to keep by setting `path_display.shorten = num`. |
