commit 329f3adc7a5509fafa029e32f7fac5aa45a4dec8
parent dd0c6f736074434c9f499690221dd883118105f7
Author: Vincent Demeester <vincent@sbr.pm>
Date: Tue, 19 May 2020 20:40:14 +0200
config-search.el: add tmpl and gotest as rg type
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/tools/emacs/config/config-search.el b/tools/emacs/config/config-search.el
@@ -79,6 +79,8 @@ confines of word boundaries (e.g. multiple words)."
("M-s r p" . rg-project)
("M-s r s" . rg-dwiw))
:config
+ (cl-pushnew '("tmpl" . "*.tmpl") rg-custom-type-aliases)
+ (cl-pushnew '("gotest" . "*_test.go") rg-custom-type-aliases)
(with-eval-after-load 'projectile
(defalias 'projectile-ripgrep #'rg-project)))
;; -UseRG