From: Michael Orlitzky Date: Fri, 12 Mar 2010 17:03:27 +0000 (-0500) Subject: Added the haskell-mode hooks to enable documen/indentation. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=70b65fbebab3f53d8a30d2493612787a53f8c1d5;p=emacs.d.git Added the haskell-mode hooks to enable documen/indentation. --- diff --git a/mode-hooks.el b/mode-hooks.el index 37f3514..679909e 100644 --- a/mode-hooks.el +++ b/mode-hooks.el @@ -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 index 0000000..c44495d --- /dev/null +++ b/mode-hooks/haskell-mode-hooks.el @@ -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)