Make :Rg within neovim smart by default

Enable --smart-case of rg by default.
That allows me to search for email finding Email and email.
While searching for Email only will find Email.
This commit is contained in:
Daniel Siepmann 2024-04-04 08:39:37 +02:00
parent ed1d4dac5c
commit ce32aaa6d8
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -239,7 +239,13 @@ in {
# Adding features
rg
{
plugin = rg;
config = ''
let g:rg_command = 'rg --vimgrep --smart-case'
'';
}
diff-fold
BufOnly-vim