diff options
| author | Luke Kershaw <35707277+l-kershaw@users.noreply.github.com> | 2021-07-16 17:41:39 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-16 17:41:39 +0100 |
| commit | 1866265feaebda2b615fadaa9230ec45958dd210 (patch) | |
| tree | a3e7663b4f0f9fa00a3bc4d410063d8e914fa91b /lua/telescope/builtin/init.lua | |
| parent | 138697980b68ce7d4f0661c752691ffe5dbb72b0 (diff) | |
feat: Add length option for `shorten_path` (#886)
* feat: add `shorten_len` option for path shortening
- adds option to configure the length of shortened parts of filenames
- only affects paths when "shorten" is in `path_display`
* chore: revert rebase for `path.lua` to 876bed9
* refactor: replace `shorten_len` with the `shorten` key in `path_display`
- also deprecates `utils.path_shorten` and passes straight to `plenary`s `Path:shorten`
* feat: allow `path_display` to handle table keys, as well as strings
Diffstat (limited to 'lua/telescope/builtin/init.lua')
0 files changed, 0 insertions, 0 deletions
