Use ripgrep if possible with emacs
This commit is contained in:
parent
6a9ae427a9
commit
984746ef5c
|
@ -56,3 +56,9 @@
|
|||
|
||||
;; switch focus to man page
|
||||
(setq man-notify-method t)
|
||||
|
||||
;; use ripgrep or rg if possible
|
||||
(setq xref-search-program (cond ((or (executable-find "ripgrep")
|
||||
(executable-find "rg")) 'ripgrep)
|
||||
((executable-find "ugrep") 'ugrep) (t
|
||||
'grep)))
|
||||
|
|
Loading…
Reference in New Issue