public
Description: A mac-oriented emacs configuration bundle with batteries included: check out as ~/.emacs.d
Homepage: http://www.sanityinc.com/
Clone URL: git://github.com/purcell/emacs.d.git
emacs.d / init-haskell.el
100644 18 lines (11 sloc) 0.394 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(load-library "haskell-site-file")
 
(load-library "cabal-mode")
 
(require 'hoogle)
 
(setq haskell-program-name (executable-find "ghci"))
(setq haskell-font-lock-symbols t)
 
(add-hook 'haskell-mode-hook
          (lambda ()
            (define-key haskell-mode-map [?\C-c h] 'hoogle-lookup)
            (turn-on-haskell-doc-mode)
            (turn-on-haskell-indent)))
 
 
(provide 'init-haskell)