mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-03 18:28:38 +00:00
feat(picker.grep): added ft
(rg's type
) and regex
(rg's --fixed-strings
) options
This commit is contained in:
parent
541b46dfac
commit
0437cfd98e
4 changed files with 17 additions and 0 deletions
|
@ -172,6 +172,8 @@ M.git_status = {
|
|||
---@field dirs? string[] directories to search
|
||||
---@field follow? boolean follow symlinks
|
||||
---@field glob? string|string[] glob file pattern(s)
|
||||
---@field ft? string|string[] ripgrep file type(s). See `rg --type-list`
|
||||
---@field regex? boolean use regex search pattern (defaults to `true`)
|
||||
---@field buffers? boolean search in open buffers
|
||||
---@field need_search? boolean require a search pattern
|
||||
M.grep = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue