From e1ded1a01db26296d89f3353ee1f152e97629df1 Mon Sep 17 00:00:00 2001 From: TJ DeVries Date: Thu, 10 Sep 2020 11:11:14 -0400 Subject: Allow easily changing grep arguments --- lua/telescope/config.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lua/telescope/config.lua') diff --git a/lua/telescope/config.lua b/lua/telescope/config.lua index 9e1c337..c42e500 100644 --- a/lua/telescope/config.lua +++ b/lua/telescope/config.lua @@ -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. -- cgit v1.2.3