Add support for purescript language server (#2572)

* Add support for purescript language server
* Update naming
* Add purescript language server tests
This commit is contained in:
Drew Olson
2019-06-17 06:54:43 -05:00
committed by w0rp
parent 701c1e4f17
commit 1c71da5624
12 changed files with 119 additions and 0 deletions

33
doc/ale-purescript.txt Normal file
View File

@@ -0,0 +1,33 @@
===============================================================================
ALE PureScript Integration *ale-purescript-options*
===============================================================================
purescript-language-server *ale-purescript-language-server*
PureScript Language Server
(https://github.com/nwolverson/purescript-language-server)
g:ale_purescript_ls_executable g:ale_purescript_ls_executable
b:ale_purescript_ls_executable
Type: |String|
Default: `'purescript-language-server'`
PureScript language server executable.
g:ale_purescript_ls_config g:ale_purescript_ls_config
b:ale_purescript_ls_config
Type: |Dictionary|
Default: `{}`
Dictionary containing configuration settings that will be passed to the
language server. For example, with a spago project:
{
\ 'purescript': {
\ 'addSpagoSources': v:true,
\ 'addNpmPath': v:true,
\ 'buildCommand': 'spago build -- --json-errors'
\ }
\}
===============================================================================
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: