summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorSimon Hauser <Simon-Hauser@outlook.de>2022-04-30 12:10:41 +0200
committerGitHub <noreply@github.com>2022-04-30 12:10:41 +0200
commit1b6909cfb322af93506a5187069e8d604d05feb5 (patch)
treeddf11116f11a411c21bfd2d7083fc9020deca529 /lua
parent460eb8c32bd946cc0e810e93aa72f7d7d9acc19d (diff)
docs(smart_path): add negative performance warning (#1899)
Diffstat (limited to 'lua')
-rw-r--r--lua/telescope/config.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/lua/telescope/config.lua b/lua/telescope/config.lua
index 1f4556b..37a2846 100644
--- a/lua/telescope/config.lua
+++ b/lua/telescope/config.lua
@@ -315,7 +315,9 @@ append(
- "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
+ the difference between the displayed paths.
+ Warning: The nature of the algorithm might have a negative
+ performance impact!
- "shorten" only display the first character of each directory in
the path
- "truncate" truncates the start of the path when the whole path will