Add --no-ignore in rg flags

This commit is contained in:
2025-01-16 12:35:24 +01:00
parent bd3bc006e8
commit 985d5370cf

View File

@@ -46,7 +46,8 @@ local ripgrep = function(opts)
end
return vim.iter({
{ "rg", "--color=never", "--no-heading", "--with-filename", "--line-number", "--column", "--smart-case", },
{ "rg", "--color=never", "--no-heading", "--with-filename", "--line-number", "--column", },
{ "--no-hidden", "--smart-case", },
glob,
{ "--", search },
}):flatten():totable()