]> gitweb.michael.orlitzky.com - emacs.d.git/commitdiff
Added the haskell-mode hooks to enable documen/indentation.
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 12 Mar 2010 17:03:27 +0000 (12:03 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 12 Mar 2010 17:03:27 +0000 (12:03 -0500)
mode-hooks.el
mode-hooks/haskell-mode-hooks.el [new file with mode: 0644]

index 37f351438226d2277b8cee1d052031730d1b0cd4..679909e6027f9d2aea8006b9712d26ca7f1544ac 100644 (file)
@@ -5,4 +5,5 @@
 (load-library "css-mode-hooks")
 (load-library "ruby-mode-hooks")
 (load-library "csharp-mode-hooks")
+(load-library "haskell-mode-hooks")
 (load-library "ecmascript-mode-hooks")
diff --git a/mode-hooks/haskell-mode-hooks.el b/mode-hooks/haskell-mode-hooks.el
new file mode 100644 (file)
index 0000000..c44495d
--- /dev/null
@@ -0,0 +1,9 @@
+(defun hm-hook()
+  (turn-on-haskell-doc-mode)
+  (turn-on-haskell-indent)
+  
+  ;; Make the symbols pretty, and crap all over performance.
+  ;;(setq haskell-font-lock-symbols t)
+  )
+
+(add-hook 'haskell-mode-hook 'hm-hook)