summaryrefslogtreecommitdiff
path: root/lua/telescope/builtin/init.lua
diff options
context:
space:
mode:
authorAnthony Nichols <nichols.anthony@hotmail.com>2021-09-16 04:58:59 -0500
committerGitHub <noreply@github.com>2021-09-16 11:58:59 +0200
commit5f0ccf1346b99d6d0dab7850184f128e7926cf5f (patch)
treebecd33d4c11c1b28ebdb631f020ae863b065aac5 /lua/telescope/builtin/init.lua
parent2c71ffec076dffab56333c0b66f95f0d38024cd2 (diff)
feat: support <pattern> for git-for-each-ref (git_branches) (#1248)
Diffstat (limited to 'lua/telescope/builtin/init.lua')
-rw-r--r--lua/telescope/builtin/init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/telescope/builtin/init.lua b/lua/telescope/builtin/init.lua
index 34f0089..0a76074 100644
--- a/lua/telescope/builtin/init.lua
+++ b/lua/telescope/builtin/init.lua
@@ -182,6 +182,7 @@ builtin.git_bcommits = require_on_exported_call("telescope.builtin.git").bcommit
---@param opts table: options to pass to the picker
---@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 pattern string: specify the pattern to match all refs
builtin.git_branches = require_on_exported_call("telescope.builtin.git").branches
--- Lists git status for current directory