forked from colonelpanic/dotfiles
Beef up haskell config
This commit is contained in:
parent
bc2fa4b3f2
commit
dbae14370b
@ -2287,9 +2287,29 @@ The following is taken from [[https://github.com/syl20bnr/spacemacs/blob/a650877
|
|||||||
:commands haskell-mode
|
:commands haskell-mode
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)))
|
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
|
||||||
***** Scion
|
(setq haskell-tags-on-save t)))
|
||||||
(use-package scion)
|
#+END_SRC
|
||||||
|
***** hindent
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package hindent
|
||||||
|
:after haskell-mode
|
||||||
|
:config
|
||||||
|
(add-hook 'haskell-mode-hook 'hindent-mode))
|
||||||
|
#+END_SRC
|
||||||
|
***** ghc-mod
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package ghc
|
||||||
|
:after haskell-mode
|
||||||
|
:config
|
||||||
|
(add-hook 'haskell-mode-hook 'ghci-nit))
|
||||||
|
#+END_SRC
|
||||||
|
***** company-ghc
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package company-ghc
|
||||||
|
:after ghc
|
||||||
|
:config
|
||||||
|
(add-to-list 'company-backend 'company-ghc))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** Data/Config/Protocol
|
*** Data/Config/Protocol
|
||||||
**** thrift
|
**** thrift
|
||||||
|
Loading…
Reference in New Issue
Block a user