From 5892c9ede32d923d7186cfb02280458fe06a60ce Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Fri, 13 Nov 2020 09:40:10 -0800 Subject: [PATCH] Add fill-column-indicator to Groovy --- oni-groovy.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/oni-groovy.el b/oni-groovy.el index 43f6294..0cc1d53 100644 --- a/oni-groovy.el +++ b/oni-groovy.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2020.1030.180316 +;; Version: 2020.1110.150802 ;; Package-Requires: (groovy-mode oni-embrace groovy-imports rainbow-delimiters jenkinsfile-mode) ;; 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) +(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-pair-local-mode) (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 'rainbow-delimiters-mode) ;;;###autoload (add-to-list 'auto-mode-alist `(,(rx ".pipeline" string-end) . jenkinsfile-mode))