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:
parent
8ae7431cbe
commit
99e4c9cfd6
@ -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
|
||||
"}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user