From cc635a161e7b0ac3fd247606572af13e5f0a21f3 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Fri, 11 Sep 2020 17:29:17 +0200 Subject: [PATCH] Add smart case to vimgrep arguments (#60) --- lua/telescope/config.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.