aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vim/after/plugin/ripgrep.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/.vim/after/plugin/ripgrep.vim b/.vim/after/plugin/ripgrep.vim
new file mode 100644
index 0000000..15e0285
--- /dev/null
+++ b/.vim/after/plugin/ripgrep.vim
@@ -0,0 +1,4 @@
+if executable('rg')
+ set grepprg=rg\ --vimgrep\ --smart-case\ --hidden\ --glob\ !.git
+ set grepformat=%f:%l:%c:%m
+endif