diff options
author | Vincent Ambo <tazjin@gmail.com> | 2018-03-17T20·54+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2018-03-17T20·54+0100 |
commit | 7d13aa41484f15dcfd8eb671138813e477e55e37 (patch) | |
tree | daa67c2868a33bb276afb6a24428266d690d352b /init | |
parent | 33bb6c9dbc59e0b84f71fdd7edff6684107b13f9 (diff) |
chore(haskell): Remove everything except for intero setup
Diffstat (limited to 'init')
-rw-r--r-- | init/haskell-setup.el | 30 |
1 files changed, 1 insertions, 29 deletions
diff --git a/init/haskell-setup.el b/init/haskell-setup.el index c2ed22b25248..23de004cde75 100644 --- a/init/haskell-setup.el +++ b/init/haskell-setup.el @@ -1,33 +1,5 @@ (require 'haskell-mode) -;; Setup for Haskell mode - -(add-hook 'haskell-mode-hook 'interactive-haskell-mode) -(add-hook 'haskell-mode-hook 'hi2-mode) - -;; Bindings - -(defun haskell-mode-binding-setup () - (interactive) - (define-key haskell-mode-map (kbd "C-c C-l") 'haskell-process-load-or-reload) - (define-key haskell-mode-map (kbd "C-c C-c") 'haskell-compile) - (define-key haskell-mode-map (kbd "C-r") 'haskell-interactive-bring)) - -(eval-after-load "haskell-mode" - '(haskell-mode-binding-setup)) - -(eval-after-load "haskell-cabal" - '(define-key haskell-cabal-mode-map (kbd "C-c C-c") 'haskell-compile)) - -;; Settings - -(setq haskell-interactive-popup-errors nil - haskell-stylish-on-save t - haskell-tags-on-save t - haskell-process-suggest-remove-import-types t - haskell-process-auto-import-loaded-modules t - haskell-process-log t - haskell-process-type 'ghci - haskell-process-show-debug-tips nil) +(add-hook 'haskell-mode-hook 'intero-mode) (provide 'haskell-setup) |