]> git.rkrishnan.org Git - .emacs.d.git/commitdiff
haskell mode configs
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Sun, 28 Dec 2014 04:19:22 +0000 (09:49 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Sun, 28 Dec 2014 04:19:22 +0000 (09:49 +0530)
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)