feat: smart path (#914)

path_display = { "smart" }

Co-authored-by: Deniz <deniz@admentum.se>
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
This commit is contained in:
qualious
2021-09-12 22:14:00 +03:00
committed by GitHub
parent 978366ba46
commit 1d17cc4abc
3 changed files with 49 additions and 0 deletions

View File

@@ -201,6 +201,8 @@ telescope.setup({opts}) *telescope.setup()*
- "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
@@ -917,6 +919,7 @@ builtin.lsp_type_definitions({opts}) *builtin.lsp_type_definitions()*
{jump_type} (string) how to goto definition if there is only one,
values: "tab", "split", "vsplit", "never"
builtin.lsp_implementations({opts}) *builtin.lsp_implementations()*
Goto the implementation of the word under the cursor if there's only one,
otherwise show all options in Telescope