set grepprg=rg didn't work. Change parameters.
dblume

dblume commited on 2026-01-08 18:03:28
Showing 1 changed files, with 1 additions and 2 deletions.

... ...
@@ -413,8 +413,7 @@ endfunction
413 413
 
414 414
 " Use ripgrep for search instead of grep
415 415
 if executable('rg')
416
-    " set grepprg=rg\ --vimgrep\ --hidden\ —glob '!.git'
417
-    set grepprg=rg
416
+    set grepprg=rg\ --vimgrep\ --no-heading\ --smart-case
418 417
 endif
419 418
 " Navigate quickfix list with ease
420 419
 nnoremap <silent> [q :cprevious<CR>
421 420