1
0
Fork 0

[oni-groovy] Replace ‘electric-pair-local-mode’ with Smartparens

This commit is contained in:
Tom Willemse 2022-09-20 13:39:36 -07:00
parent 30265c17a5
commit 5d59327d8d

View file

@ -4,8 +4,8 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 2022.0401.184320 ;; Version: 2022.0920.133859
;; Package-Requires: (groovy-mode oni-embrace groovy-imports rainbow-delimiters jenkinsfile-mode) ;; Package-Requires: (groovy-mode oni-embrace oni-smartparens 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
;; it under the terms of the GNU General Public License as published by ;; it under the terms of the GNU General Public License as published by
@ -71,10 +71,10 @@
(add-hook 'groovy-mode-hook #'oni-groovy-setup-defun-navigation) (add-hook 'groovy-mode-hook #'oni-groovy-setup-defun-navigation)
(add-hook 'groovy-mode-hook 'display-fill-column-indicator-mode) (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 'groovy-imports-scan-file) (add-hook 'groovy-mode-hook 'groovy-imports-scan-file)
(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) (add-hook 'groovy-mode-hook 'rainbow-delimiters-mode)
(add-hook 'groovy-mode-hook 'smartparens-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))