Add a groovy grep alias
This commit is contained in:
parent
d6e2f4e653
commit
8fb09694bc
1 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue