232 set undofile |
232 set undofile |
233 let &undodir = g:vimcache . '/undo//,.' |
233 let &undodir = g:vimcache . '/undo//,.' |
234 endif |
234 endif |
235 |
235 |
236 if executable('rg') |
236 if executable('rg') |
237 set grepprg=rg\ --vimgrep |
237 let &grepprg = "rg -S --vimgrep" |
238 set grepformat=%f:%l:%c:%m,%f:%l%m,%f\ \ %l%m |
238 let &grepformat = "%f:%l:%c:%m,%f:%l%m,%f %l%m" |
239 elseif executable('ag') |
239 elseif executable('ag') |
240 set grepprg=ag\ --vimgrep |
240 let &grepprg = "ag --vimgrep" |
241 set grepformat^=%f:%l:%c:%m |
241 set grepformat^=%f:%l:%c:%m |
242 endif |
242 endif |
243 |
243 |
244 if g:on_windows |
244 if g:on_windows |
245 set guifont=DejaVu_Sans_Mono:h10:cDEFAULT |
245 set guifont=DejaVu_Sans_Mono:h10:cDEFAULT |