feat(picker.grep): added ft (rg's type) and regex (rg's --fixed-strings) options

This commit is contained in:
Folke Lemaitre 2025-01-15 06:34:28 +01:00
parent 541b46dfac
commit 0437cfd98e
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
4 changed files with 17 additions and 0 deletions

View file

@ -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 = {