Allow easily changing grep arguments

This commit is contained in:
TJ DeVries
2020-09-10 11:11:17 -04:00
parent 5a3b76b9ed
commit e1ded1a01d
2 changed files with 10 additions and 5 deletions
+6
View File
@@ -38,6 +38,12 @@ function config.set_defaults(defaults)
set("width", 0.75)
set("winblend", 0)
-- Builtin configuration
-- List that will be executed.
-- Last argument will be the search term (passed in during execution)
set("vimgrep_arguments", {'rg', '--color=never', '--no-heading', '--with-filename', '--line-number', '--column'})
-- TODO: Shortenpath
-- Decide how to propagate that to all the opts everywhere.