Parcourir la source

Make ripgrep first candidate

master
10sr il y a 6 ans
Parent
révision
bb8feeebf7
Signé par: 10sr ID de la clé GPG: 7BEC428194130EB2
1 fichiers modifiés avec 5 ajouts et 5 suppressions
  1. +5
    -5
      emacs.el

+ 5
- 5
emacs.el Voir le fichier

@@ -1387,17 +1387,17 @@ ARG is num to show, or defaults to 7."
Each element is in the form like (NAME SEXP COMMAND), where SEXP returns the
condition to choose COMMAND when evaluated.")
`(
;; ripgrep
("rg"
(executable-find "rg")
"rg --no-heading --smart-case ")

;; git grep
("gitgrep"
(eq 0
(shell-command "git rev-parse --git-dir"))
"git --no-pager -c color.grep=always grep -nH -e ")

;; ripgrep
("rg"
(executable-find "rg")
"rg --no-heading --smart-case ")

;; sift
("sift"
(executable-find "sift")


Chargement…
Annuler
Enregistrer