This layer provides support for the Haskell language with the following packages:
Add the +lang/-example layer in your configuration file,
function! Layers()
" ...
Layer '+lang/-example'
" ...
endfunctionTo utilize this layer you need ghc-mod, hlint and apply-refact on your path. This can be done with,
$ stack install apply-refact ghc-mod hlintYou can configure the indentation by setting g:sp_haskell_indentation in your user-init block (i.e. before loading the plugin). By default it is set to 2.
By default g:neomake_haskell_enabled_makers is set to use all makers. This can be overwritten by setting the desired makers with g:sp_neomake_haskell_enabled_makers.
| Key Binding | Description |
|---|---|
| SPC m c | Check and lint with ghc-mod |
| Key Binding | Description |
|---|---|
| SPC m d h | Start a Hoogle search query |