We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1dcef24 commit 5a3354dCopy full SHA for 5a3354d
1 file changed
lua/fzf-lua/providers/grep.lua
@@ -46,7 +46,7 @@ local get_grep_cmd = function(opts, search_query, no_esc)
46
-- be reworked into a table of arguments
47
opts._cmd = command
48
49
- if opts.rg_glob and not command:match("^rg") then
+ if opts.rg_glob and not opts.rg_glob_fn not command:match("^rg") then
50
if not tonumber(opts.rg_glob) and not opts.silent then
51
-- Do not display the error message if using the defaults (rg_glob=1)
52
utils.warn("'--glob|iglob' flags require 'rg', ignoring 'rg_glob' option.")
0 commit comments