aboutsummaryrefslogtreecommitdiffstats
path: root/oni-groovy.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2020-10-19 10:39:14 -0700
committerGravatar Tom Willemse2020-10-19 10:39:14 -0700
commit8fb09694bc243b08987ee8196714b10b7a663459 (patch)
tree4c277edc867110becdc2fc4066282effdcf9f467 /oni-groovy.el
parentd6e2f4e653b1b428930413c60291e1cf4a9fe228 (diff)
downloademacs-config-8fb09694bc243b08987ee8196714b10b7a663459.tar.gz
emacs-config-8fb09694bc243b08987ee8196714b10b7a663459.zip
Add a groovy grep alias
Diffstat (limited to 'oni-groovy.el')
-rw-r--r--oni-groovy.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/oni-groovy.el b/oni-groovy.el
index 69036a8..9312c0c 100644
--- a/oni-groovy.el
+++ b/oni-groovy.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2020.1019.090337
+;; Version: 2020.1019.103906
;; Package-Requires: (groovy-mode groovy-imports rainbow-delimiters jenkinsfile-mode)
;; This program is free software; you can redistribute it and/or modify
@@ -45,6 +45,10 @@
;;;###autoload
(add-to-list 'auto-mode-alist `(,(rx ".pipeline" string-end) . jenkinsfile-mode))
+;;;###autoload
+(with-eval-after-load 'grep
+ (add-to-list 'grep-files-aliases '("groovy" . "*.groovy *.pipeline Jenkinsfile")))
+
;;;###autoload(with-eval-after-load 'groovy-mode (require 'oni-groovy))
(provide 'oni-groovy)