1
0
Fork 0

Add fill-column-indicator to Groovy

This commit is contained in:
Tom Willemse 2020-11-13 09:40:10 -08:00
parent d6f0b92c9f
commit 5892c9ede3

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 2020.1030.180316 ;; Version: 2020.1110.150802
;; Package-Requires: (groovy-mode oni-embrace groovy-imports rainbow-delimiters jenkinsfile-mode) ;; Package-Requires: (groovy-mode oni-embrace 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
@ -36,11 +36,12 @@
(define-key groovy-mode-map (kbd "M-I") 'groovy-imports-add-import-dwim) (define-key groovy-mode-map (kbd "M-I") 'groovy-imports-add-import-dwim)
(add-hook 'groovy-mode-hook 'display-fill-column-indicator-mode)
(add-hook 'groovy-mode-hook 'electric-indent-local-mode) (add-hook 'groovy-mode-hook 'electric-indent-local-mode)
(add-hook 'groovy-mode-hook 'electric-pair-local-mode) (add-hook 'groovy-mode-hook 'electric-pair-local-mode)
(add-hook 'groovy-mode-hook 'groovy-imports-scan-file) (add-hook 'groovy-mode-hook 'groovy-imports-scan-file)
(add-hook 'groovy-mode-hook 'rainbow-delimiters-mode)
(add-hook 'groovy-mode-hook 'oni-groovy--auto-fill-mode) (add-hook 'groovy-mode-hook 'oni-groovy--auto-fill-mode)
(add-hook 'groovy-mode-hook 'rainbow-delimiters-mode)
;;;###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))