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:
parent
cc133fb6f1
commit
437d3d6cb9
1 changed files with 7 additions and 2 deletions
|
@ -4,8 +4,8 @@
|
|||
|
||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||
;; Keywords: local
|
||||
;; Version: 2020.0408.201521
|
||||
;; Package-Requires: (haskell-mode)
|
||||
;; Version: 2020.0429.230436
|
||||
;; Package-Requires: (haskell-mode rainbow-delimiters)
|
||||
|
||||
;; 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
|
||||
|
@ -27,6 +27,11 @@
|
|||
;;; Code:
|
||||
|
||||
(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))
|
||||
|
||||
|
|
Loading…
Reference in a new issue