summaryrefslogtreecommitdiff
path: root/lua/telescope/config.lua
diff options
context:
space:
mode:
authorTJ DeVries <devries.timothyj@gmail.com>2020-09-10 11:11:14 -0400
committerTJ DeVries <devries.timothyj@gmail.com>2020-09-10 11:11:17 -0400
commite1ded1a01db26296d89f3353ee1f152e97629df1 (patch)
treed4a0c971b9dae40d21453b1eeb442bba9a3a3488 /lua/telescope/config.lua
parent5a3b76b9ed884e73d32eabae0d2bed327f55ec1d (diff)
Allow easily changing grep arguments
Diffstat (limited to 'lua/telescope/config.lua')
-rw-r--r--lua/telescope/config.lua6
1 files changed, 6 insertions, 0 deletions
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.