Commit 329f3adc7a55

Vincent Demeester <vincent@sbr.pm>
2020-05-19 20:40:14
config-search.el: add tmpl and gotest as rg type
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent dd0c6f7
Changed files (1)
tools
emacs
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