From 437d3d6cb95525eb59dc110ce7bf65d86b7ecbfe Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 30 Apr 2020 18:36:30 -0700 Subject: [PATCH] Add rainbow-delimiters-mode to Haskell MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also enable ‘electric-pair-local-mode’ and ‘rainbow-delimiters-mode’ in Inferior Haskell buffers. --- oni-haskell.el | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/oni-haskell.el b/oni-haskell.el index 4c70264..94538f0 100644 --- a/oni-haskell.el +++ b/oni-haskell.el @@ -4,8 +4,8 @@ ;; Author: Tom Willemse ;; 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))