[haskell] add note about auto-completion layer

Fixes #6733
This commit is contained in:
d12frosted 2016-08-02 11:54:21 +03:00
parent 73b8151381
commit 7280a46554
No known key found for this signature in database
GPG Key ID: 8D33A3B1A4AF7D30
1 changed files with 9 additions and 6 deletions

View File

@ -97,14 +97,17 @@ For information about setting up =$PATH=, check out the corresponding section in
the FAQ (~SPC h SPC $PATH RET~).
** Completion support
This layer provides several completion backends - =intero=, =ghci= and =ghc-mod=. By
default =ghci= (=company-ghci=) is used as it requires no dependencies and works
both with =stack= and pure =cabal= projects. In order to manually set completion
backend set value of =haskell-completion-backend=.
This layer provides several completion backends - =intero=, =ghci= and
=ghc-mod=. By default =ghci= (=company-ghci=) is used as it requires no
dependencies and works both with =stack= and pure =cabal= projects. In order to
manually set completion backend set value of =haskell-completion-backend=. Note
that in order to enable completion you have to enable =auto-completion= layer as
well.
#+BEGIN_SRC emacs-lisp
(setq-default dotspacemacs-configuration-layers
'((haskell :variables haskell-completion-backend 'intero)))
(setq-default dotspacemacs-configuration-layers
'(auto-completion
(haskell :variables haskell-completion-backend 'intero)))
#+END_SRC
*** =company-ghci=