1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

Update: add grep program

This commit is contained in:
jdhao 2020-03-15 09:32:52 +08:00
parent 8ae7431cbe
commit 99e4c9cfd6

View File

@ -162,4 +162,10 @@ set nojoinspaces
set synmaxcol=500
set nostartofline
" External program to use for grep command
if executable('rg')
set grepprg=rg\ --vimgrep\ --no-heading\ --smart-case
set grepformat=%f:%l:%c:%m
endif
"}