Skip to content

Commit

Permalink
docs(git_status): add missing opt expand_dir (#2824)
Browse files Browse the repository at this point in the history
* docs(git_status): add missing opt `expand_dir`

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

---------

Co-authored-by: Github Actions <actions@github>
(cherry picked from commit fa4d663)
  • Loading branch information
jamestrew authored and Conni2461 committed Mar 12, 2024
1 parent d85ad68 commit 6312868
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/telescope.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1055,6 +1055,8 @@ builtin.git_status({opts}) *telescope.builtin.git_status()*
{git_icons} (table) string -> string. Matches name with icon
(see source code, make_entry.lua
git_icon_defaults)
{expand_dir} (boolean) pass flag `-uall` to show files in untracked
directories (default: true)


builtin.git_stash({opts}) *telescope.builtin.git_stash()*
Expand Down
1 change: 1 addition & 0 deletions lua/telescope/builtin/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ builtin.git_branches = require_on_exported_call("telescope.builtin.__git").branc
---@field cwd string: specify the path of the repo
---@field use_git_root boolean: if we should use git root as cwd or the cwd (important for submodule) (default: true)
---@field git_icons table: string -> string. Matches name with icon (see source code, make_entry.lua git_icon_defaults)
---@field expand_dir boolean: pass flag `-uall` to show files in untracked directories (default: true)
builtin.git_status = require_on_exported_call("telescope.builtin.__git").status

--- Lists stash items in current repository
Expand Down

0 comments on commit 6312868

Please sign in to comment.