mirror of
https://github.com/folke/snacks.nvim
synced 2025-12-23 08:47:57 +00:00
feat(picker): also ignore dot bare git files (#2058)
## Description If you clone with --bare then you have a `.bare` and not a `.git` directory.
This commit is contained in:
parent
29682a0a72
commit
4bb0dae95d
1 changed files with 2 additions and 1 deletions
|
|
@ -16,7 +16,8 @@ local function get_cmd(opts, filter)
|
|||
"--max-columns=500",
|
||||
"--max-columns-preview",
|
||||
"-g",
|
||||
"!.git",
|
||||
"--glob=!.bare",
|
||||
"--glob=!.git",
|
||||
}
|
||||
|
||||
args = vim.deepcopy(args)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue