Browse Source

Add haskell-mode

Josh Bicking 7 years ago
parent
commit
27a8716ee8
1 changed files with 11 additions and 3 deletions
  1. 11 3
      emacs.d/packages/packages.el

+ 11 - 3
emacs.d/packages/packages.el

@@ -49,7 +49,7 @@
 	magit
 	evil-magit
 	magithub
-	;undo-tree
+	undo-tree
 	evil
 	evil-leader
 	powerline-evil
@@ -68,7 +68,8 @@
 	evil-surround
 	diminish
 	dtrt-indent
-	undohist))
+	undohist
+	))
 
 ;; List of optional packages
 (setq optional-packages
@@ -80,7 +81,9 @@
 	web-mode
 	racket-mode
 	fuzzy
-	general))
+	general
+	haskell-mode
+	))
 
 
 ;; Check that all packages are installed
@@ -375,4 +378,9 @@
 
 (use-package org)
 
+(use-package haskell-mode
+  :config
+  (setq haskell-interactive-popup-errors nil)
+  (define-key haskell-mode-map (kbd "C-c C-c") 'inferior-haskell-load-file))
+
 (provide 'packages)