]> git.rkrishnan.org Git - .emacs.d.git/blobdiff - init.el
haskell mode configs
[.emacs.d.git] / init.el
diff --git a/init.el b/init.el
index 2e72e52448694e03fb0426c6d8a88cb8fde896c3..38baf78e60775a7b35e70f0733238565dd138c1c 100644 (file)
--- a/init.el
+++ b/init.el
 ;; haskell mode
 (setenv "PATH" (concat "~/.cabal/bin:" (getenv "PATH")))
 (add-to-list 'exec-path "~/.cabal/bin")
-(add-hook 'haskell-mode-hook 'haskell-indent-mode)
+(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
+;; (add-hook 'haskell-mode-hook 'haskell-indent-mode)
 ;; (add-hook 'haskell-mode-hook 'interactive-haskell-mode)
-;(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
-;; (add-hook 'haskell-mode-hook 'turn-on-haskell-indentation)
+;(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
+(add-hook 'haskell-mode-hook 'turn-on-haskell-indentation)
 
 ;; ghc-mod
 (autoload 'ghc-init "ghc" nil t)