Skip to content

Commit

Permalink
[docgen] Update doc/telescope.txt
Browse files Browse the repository at this point in the history
skip-checks: true
  • Loading branch information
Github Actions committed Apr 21, 2024
1 parent f01c5b3 commit 7e4c9dc
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions doc/telescope.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2577,24 +2577,6 @@ utils.path_expand({path}) *telescope.utils.path_expand()*
string


utils.transform_path({opts}, {path}) *telescope.utils.transform_path()*
Transform path is a util function that formats a path based on path_display
found in `opts` or the default value from config. It is meant to be used in
make_entry to have a uniform interface for builtins as well as extensions
utilizing the same user configuration Note: It is only supported inside
`make_entry`/`make_display` the use of this function outside of telescope
might yield to undefined behavior and will not be addressed by us


Parameters: ~
{opts} (table) The opts the users passed into the picker. Might
contains a path_display key
{path} (string|nil) The path that should be formatted

Return: ~
string: The transformed path ready to be displayed


utils.has_ts_parser({lang}) *telescope.utils.has_ts_parser()*
Checks if treesitter parser for language is installed

Expand Down

0 comments on commit 7e4c9dc

Please sign in to comment.