This layer provides support for the PureScript language with the following packages:
Add the +lang/purescript
layer in your configuration file,
function! Layers()
" ...
Layer '+lang/purescript'
" ...
endfunction
Install the language server with npm i -g purescript-language-server
.
You can configure the indentation by setting g:sp_purescript_indentation
in your user-init block (i.e. before loading the plugin). By default it is set to 2
.
This layer sets up the purescript-language-server
language server for usage with coc.nvim.
Key Binding | Description |
---|
|