1
0
Fork 0

Add a groovy grep alias

This commit is contained in:
Tom Willemse 2020-10-19 10:39:14 -07:00
parent d6e2f4e653
commit 8fb09694bc

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 2020.1019.090337 ;; Version: 2020.1019.103906
;; Package-Requires: (groovy-mode groovy-imports rainbow-delimiters jenkinsfile-mode) ;; Package-Requires: (groovy-mode groovy-imports rainbow-delimiters jenkinsfile-mode)
;; This program is free software; you can redistribute it and/or modify ;; This program is free software; you can redistribute it and/or modify
@ -45,6 +45,10 @@
;;;###autoload ;;;###autoload
(add-to-list 'auto-mode-alist `(,(rx ".pipeline" string-end) . jenkinsfile-mode)) (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)) ;;;###autoload(with-eval-after-load 'groovy-mode (require 'oni-groovy))
(provide 'oni-groovy) (provide 'oni-groovy)