diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index 56550475..058b6da5 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -2287,9 +2287,29 @@ The following is taken from [[https://github.com/syl20bnr/spacemacs/blob/a650877 :commands haskell-mode :config (progn - (add-hook 'haskell-mode-hook 'turn-on-haskell-indent))) -***** Scion -(use-package scion) + (add-hook 'haskell-mode-hook 'turn-on-haskell-indent) + (setq haskell-tags-on-save t))) +#+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 *** Data/Config/Protocol **** thrift