ignore .git folders

This commit is contained in:
Ivar Fatland
2026-08-31 14:03:53 +02:00
parent 9e31ecebcc
commit 00fdb585de
+1 -1
View File
@@ -60,7 +60,7 @@ set viewoptions=folds,cursor
set wildignore=*.o,*.obj,.git/**,tags,*.pyc
set noswapfile
set makeprg=just
set grepprg=rg\ --vimgrep\ --hidden\ --smart-case\ -g\ \'!tags\'
set grepprg=rg\ --vimgrep\ --hidden\ --smart-case\ -g\ \'!**/tags\'\ -g\ \'!**/.git\'
set grepformat=%f:%l:%c:%m
set hlsearch
syntax on