fix(utils): transform_path always return styling (#3067)

* fix(utils): transform_path always return styling

* fix docs/type hints

* [docgen] Update doc/telescope.txt
skip-checks: true

---------

Co-authored-by: Github Actions <actions@github>
This commit is contained in:
James Trew
2024-04-20 22:14:52 -04:00
committed by GitHub
parent ef75145f80
commit 7d1698f3d8
2 changed files with 6 additions and 3 deletions

View File

@@ -2592,7 +2592,8 @@ utils.transform_path({opts}, {path}) *telescope.utils.transform_path()*
{path} (string|nil) The path that should be formatted
Return: ~
string: The transformed path ready to be displayed
string: path to be displayed
table: The transformed path ready to be displayed with the styling
utils.has_ts_parser({lang}) *telescope.utils.has_ts_parser()*