1
0
Fork 0

Add rainbow-delimiters-mode to Haskell

Also enable ‘electric-pair-local-mode’ and ‘rainbow-delimiters-mode’ in Inferior
Haskell buffers.
This commit is contained in:
Tom Willemse 2020-04-30 18:36:30 -07:00
parent cc133fb6f1
commit 437d3d6cb9

View file

@ -4,8 +4,8 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 2020.0408.201521 ;; Version: 2020.0429.230436
;; Package-Requires: (haskell-mode) ;; Package-Requires: (haskell-mode rainbow-delimiters)
;; 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
@ -27,6 +27,11 @@
;;; Code: ;;; Code:
(add-hook 'haskell-mode-hook 'electric-pair-local-mode) (add-hook 'haskell-mode-hook 'electric-pair-local-mode)
(add-hook 'haskell-mode-hook 'rainbow-delimiters-mode)
(add-hook 'inferior-haskell-mode-hook 'electric-pair-local-mode)
(add-hook 'inferior-haskell-mode-hook 'rainbow-delimiters-mode)
;;;###autoload(with-eval-after-load 'haskell-mode (require 'oni-haskell)) ;;;###autoload(with-eval-after-load 'haskell-mode (require 'oni-haskell))