Преглед изворни кода

Make ripgrep first candidate

master
10sr пре 7 година
родитељ
комит
bb8feeebf7
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 измењених фајлова са 5 додато и 5 уклоњено
  1. +5
    -5
      emacs.el

+ 5
- 5
emacs.el Прегледај датотеку

@@ -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 Each element is in the form like (NAME SEXP COMMAND), where SEXP returns the
condition to choose COMMAND when evaluated.") condition to choose COMMAND when evaluated.")
`( `(
;; ripgrep
("rg"
(executable-find "rg")
"rg --no-heading --smart-case ")

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


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

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


Loading…
Откажи
Сачувај