summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 61f3192..54d1a26 100644
--- a/vimrc
+++ b/vimrc
@@ -30,7 +30,7 @@ set wildmenu " enable wildmenu for command completion
set wildmode=list:longest,full " use a bash-like command completion mode
set backspace=indent,eol,start " enable backspacing
set diffopt^=indent-heuristic,algorithm:histogram " better diffing
-set grepprg=rg\ --vimgrep\ --no-heading\ --smart-case " use ripgrep for grepping
+set grepprg=rg\ --vimgrep\ --no-heading\ --word-regexp\ --smart-case " use ripgrep for grepping
let mapleader="," " more convenient leader
syntax on " enable syntax highlighting
filetype plugin indent on