From: Ramakrishnan Muthukrishnan Date: Sun, 28 Dec 2014 04:19:22 +0000 (+0530) Subject: haskell mode configs X-Git-Url: https://git.rkrishnan.org/pf/content/en/seg/biz/frontends/FTP-and-SFTP.rst?a=commitdiff_plain;h=7e7f335509a297307099680615f8ad9d98b072c8;p=.emacs.d.git haskell mode configs --- diff --git a/init.el b/init.el index 2e72e52..38baf78 100644 --- a/init.el +++ b/init.el @@ -81,10 +81,11 @@ ;; 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)