2017-04-26 05:25:25 -04:00
|
|
|
===============================================================================
|
2017-04-26 19:22:30 -04:00
|
|
|
ALE ReasonML Integration *ale-reasonml-options*
|
2017-04-26 05:25:25 -04:00
|
|
|
|
|
|
|
|
2017-07-08 09:17:26 -04:00
|
|
|
===============================================================================
|
2017-04-26 19:22:30 -04:00
|
|
|
merlin *ale-reasonml-merlin*
|
2017-04-26 05:25:25 -04:00
|
|
|
|
2019-06-08 19:12:11 -04:00
|
|
|
To use merlin linter for ReasonML source code you need to make sure Merlin for
|
|
|
|
Vim is correctly configured. See the corresponding Merlin wiki page for
|
|
|
|
detailed instructions:
|
|
|
|
https://github.com/the-lambda-church/merlin/wiki/vim-from-scratch
|
2017-04-26 05:25:25 -04:00
|
|
|
|
2017-11-11 13:27:41 -05:00
|
|
|
===============================================================================
|
|
|
|
ols *ale-reasonml-ols*
|
|
|
|
|
2019-06-08 19:12:11 -04:00
|
|
|
The `ocaml-language-server` is the engine that powers OCaml and ReasonML
|
|
|
|
editor support using the Language Server Protocol. See the installation
|
|
|
|
instructions:
|
|
|
|
https://github.com/freebroccolo/ocaml-language-server#installation
|
|
|
|
|
2017-11-11 13:27:41 -05:00
|
|
|
|
|
|
|
g:ale_reason_ols_executable *g:ale_reason_ols_executable*
|
|
|
|
*b:ale_reason_ols_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'ocaml-language-server'`
|
|
|
|
|
|
|
|
This variable can be set to change the executable path for `ols`.
|
|
|
|
|
2019-06-08 19:12:11 -04:00
|
|
|
|
2017-11-11 13:27:41 -05:00
|
|
|
g:ale_reason_ols_use_global *g:ale_reason_ols_use_global*
|
|
|
|
*b:ale_reason_ols_use_global*
|
|
|
|
Type: |String|
|
2018-04-09 14:11:20 -04:00
|
|
|
Default: `get(g:, 'ale_use_global_executables', 0)`
|
2017-11-11 13:27:41 -05:00
|
|
|
|
|
|
|
This variable can be set to `1` to always use the globally installed
|
|
|
|
executable. See also |ale-integrations-local-executables|.
|
|
|
|
|
2019-06-08 19:12:11 -04:00
|
|
|
|
2019-04-11 01:24:47 -04:00
|
|
|
===============================================================================
|
|
|
|
reason-language-server *ale-reasonml-language-server*
|
|
|
|
|
2019-06-08 23:08:10 -04:00
|
|
|
Note: You must set an executable - there is no 'default' install location.
|
2019-06-08 19:12:11 -04:00
|
|
|
Go to https://github.com/jaredly/reason-language-server and download the
|
|
|
|
latest release. You can place it anywhere, but ensure you set the executable
|
|
|
|
path.
|
2019-04-11 01:24:47 -04:00
|
|
|
|
2019-06-08 19:12:11 -04:00
|
|
|
|
|
|
|
g:ale_reason_ls_executable *g:ale_reason_ls_executable*
|
|
|
|
*b:ale_reason_ls_executable*
|
2019-04-11 01:24:47 -04:00
|
|
|
Type: |String|
|
|
|
|
|
|
|
|
This variable defines the standard location of the language server
|
2019-06-08 23:08:10 -04:00
|
|
|
executable. This must be set.
|
2019-04-11 01:24:47 -04:00
|
|
|
|
|
|
|
|
2017-10-29 11:27:52 -04:00
|
|
|
===============================================================================
|
|
|
|
refmt *ale-reasonml-refmt*
|
|
|
|
|
|
|
|
g:ale_reasonml_refmt_executable *g:ale_reasonml_refmt_executable*
|
|
|
|
*b:ale_reasonml_refmt_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'refmt'`
|
|
|
|
|
|
|
|
This variable can be set to pass the path of the refmt fixer.
|
|
|
|
|
2019-06-08 19:12:11 -04:00
|
|
|
|
2017-10-29 11:27:52 -04:00
|
|
|
g:ale_reasonml_refmt_options *g:ale_reasonml_refmt_options*
|
|
|
|
*b:ale_reasonml_refmt_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable can be set to pass additional options to the refmt fixer.
|
2017-04-26 05:25:25 -04:00
|
|
|
|
2019-06-08 19:12:11 -04:00
|
|
|
|
2017-07-08 09:17:26 -04:00
|
|
|
===============================================================================
|
2017-04-26 05:25:25 -04:00
|
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|