aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--options.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/options.vim b/options.vim
index 188e938..34f5262 100644
--- a/options.vim
+++ b/options.vim
@@ -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
"}