blob: be245f35756698a4b8769dbce91ed73b081ac523 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
(use-package haskell-mode
:ensure t
:init
(progn
(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
(add-hook 'haskell-mode-hook 'turn-on-haskell-simple-indent)
(add-hook 'haskell-mode-hook 'interactive-haskell-mode)
)
(setq haskell-stylish-on-save t))
(use-package ghc
:ensure t
:config
(add-hook 'haskell-mode-hook 'ghc-init)
:bind (("C-c C-t" . ghc-show-type)
("C-c t" . ghc-show-type)))
(use-package hindent
:ensure t
:config
(add-hook 'haskell-mode-hook #'hindent-mode)
(setq hindent-style "gibiansky"))
|