forked from colonelpanic/dotfiles
[Emacs] Add bindings for hoogle
This commit is contained in:
parent
9b5c4b5d87
commit
13088101db
@ -2371,8 +2371,11 @@ The following is taken from [[https://github.com/syl20bnr/spacemacs/blob/a650877
|
|||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package haskell-mode
|
(use-package haskell-mode
|
||||||
:commands haskell-mode
|
:commands haskell-mode
|
||||||
|
:bind (:map haskell-mode-map
|
||||||
|
("C-c h" . haskell-hoogle))
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
|
(setq haskell-hoogle-command "hoogle")
|
||||||
(require 'flycheck)
|
(require 'flycheck)
|
||||||
(delq 'haskell-stack-ghc flycheck-checkers)
|
(delq 'haskell-stack-ghc flycheck-checkers)
|
||||||
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
|
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
|
||||||
|
Loading…
Reference in New Issue
Block a user