mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-06-14 12:21:20 +00:00
Setup rg binary location
This commit is contained in:
parent
ddb6e2d636
commit
6595ac6424
1 changed files with 2 additions and 1 deletions
|
|
@ -56,9 +56,10 @@
|
|||
|
||||
(add-to-list 'auto-mode-alist '("\\.mir$" . llvm-mode))
|
||||
|
||||
(when (executable-find "rg")
|
||||
(when-let (exe (executable-find "rg"))
|
||||
(use-package deadgrep
|
||||
:config
|
||||
(setq deadgrep-executable exe)
|
||||
(setq deadgrep-project-root-function
|
||||
#'(lambda ()
|
||||
(if current-prefix-arg
|
||||
|
|
|
|||
Loading…
Reference in a new issue