summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorChristian Clason <christian.clason@uni-due.de>2020-09-11 17:29:17 +0200
committerGitHub <noreply@github.com>2020-09-11 11:29:17 -0400
commitcc635a161e7b0ac3fd247606572af13e5f0a21f3 (patch)
tree1f9235e11da5d7a4086ab01fa76eef004ee0f0c3 /lua
parent402d8f1b6a7d46911de05843a458afeafe5dcd24 (diff)
Add smart case to vimgrep arguments (#60)
Diffstat (limited to 'lua')
-rw-r--r--lua/telescope/config.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/telescope/config.lua b/lua/telescope/config.lua
index efd2ea6..9b1677e 100644
--- a/lua/telescope/config.lua
+++ b/lua/telescope/config.lua
@@ -46,7 +46,7 @@ function config.set_defaults(defaults)
-- 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'})
+ set("vimgrep_arguments", {'rg', '--color=never', '--no-heading', '--with-filename', '--line-number', '--column', '--smart-case'})
-- TODO: Shortenpath
-- Decide how to propagate that to all the opts everywhere.