diff options
author | Tom Willemse | 2020-10-19 10:39:14 -0700 |
---|---|---|
committer | Tom Willemse | 2020-10-19 10:39:14 -0700 |
commit | 8fb09694bc243b08987ee8196714b10b7a663459 (patch) | |
tree | 4c277edc867110becdc2fc4066282effdcf9f467 | |
parent | d6e2f4e653b1b428930413c60291e1cf4a9fe228 (diff) | |
download | emacs-config-8fb09694bc243b08987ee8196714b10b7a663459.tar.gz emacs-config-8fb09694bc243b08987ee8196714b10b7a663459.zip |
Add a groovy grep alias
-rw-r--r-- | oni-groovy.el | 6 |
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) |