Add smart case to vimgrep arguments (#60)

This commit is contained in:
Christian Clason
2020-09-11 17:29:17 +02:00
committed by GitHub
parent 402d8f1b6a
commit cc635a161e

View File

@@ -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.