diff options
author | Yigit Sever | 2020-01-23 14:47:10 +0300 |
---|---|---|
committer | Yigit Sever | 2020-01-23 14:47:10 +0300 |
commit | 4e66904e8a4f47803a5d04361d0b4fc3612e20be (patch) | |
tree | 4c1e013680ec2b496b7b4d1d3dd19902f42ae3f3 | |
parent | da41fa1952ea14186b791f93bf1a3a624de7743e (diff) | |
download | dotfiles-4e66904e8a4f47803a5d04361d0b4fc3612e20be.tar.gz dotfiles-4e66904e8a4f47803a5d04361d0b4fc3612e20be.tar.bz2 dotfiles-4e66904e8a4f47803a5d04361d0b4fc3612e20be.zip |
make vimgrep smart case
-rwxr-xr-x | .config/nvim/init.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 487f64f..c585493 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim | |||
@@ -167,7 +167,7 @@ set cinoptions=l1 | |||
167 | 167 | ||
168 | " https://www.reddit.com/r/vim/comments/7bj837/favorite_console_tools_to_use_with_vim/ | 168 | " https://www.reddit.com/r/vim/comments/7bj837/favorite_console_tools_to_use_with_vim/ |
169 | if executable('rg') | 169 | if executable('rg') |
170 | set grepprg=rg\ --vimgrep\ --no-heading | 170 | set grepprg=rg\ --vimgrep\ --no-heading\ --smart-case |
171 | endif | 171 | endif |
172 | 172 | ||
173 | set diffopt+=internal,algorithm:patience | 173 | set diffopt+=internal,algorithm:patience |