[Emacs] Add bindings for hoogle

This commit is contained in:
Ivan Malison 2016-09-29 20:37:48 -07:00
parent 9b5c4b5d87
commit 13088101db
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -2371,8 +2371,11 @@ The following is taken from [[https://github.com/syl20bnr/spacemacs/blob/a650877
#+BEGIN_SRC emacs-lisp
(use-package haskell-mode
:commands haskell-mode
:bind (:map haskell-mode-map
("C-c h" . haskell-hoogle))
:config
(progn
(setq haskell-hoogle-command "hoogle")
(require 'flycheck)
(delq 'haskell-stack-ghc flycheck-checkers)
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)