mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-28 05:42:16 +08:00
Add ocaml-language-server for OCaml and ReasonML
This commit is contained in:
@@ -10,6 +10,28 @@ merlin *ale-ocaml-merlin*
|
||||
detailed instructions
|
||||
(https://github.com/the-lambda-church/merlin/wiki/vim-from-scratch).
|
||||
|
||||
===============================================================================
|
||||
ols *ale-ocaml-ols*
|
||||
|
||||
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
|
||||
|
||||
g:ale_ocaml_ols_executable *g:ale_ocaml_ols_executable*
|
||||
*b:ale_ocaml_ols_executable*
|
||||
Type: |String|
|
||||
Default: `'ocaml-language-server'`
|
||||
|
||||
This variable can be set to change the executable path for `ols`.
|
||||
|
||||
g:ale_ocaml_ols_use_global *g:ale_ocaml_ols_use_global*
|
||||
*b:ale_ocaml_ols_use_global*
|
||||
Type: |String|
|
||||
Default: `0`
|
||||
|
||||
This variable can be set to `1` to always use the globally installed
|
||||
executable. See also |ale-integrations-local-executables|.
|
||||
|
||||
===============================================================================
|
||||
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|
||||
|
||||
@@ -10,6 +10,29 @@ merlin *ale-reasonml-merlin*
|
||||
detailed instructions
|
||||
(https://github.com/the-lambda-church/merlin/wiki/vim-from-scratch).
|
||||
|
||||
===============================================================================
|
||||
ols *ale-reasonml-ols*
|
||||
|
||||
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
|
||||
|
||||
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`.
|
||||
|
||||
g:ale_reason_ols_use_global *g:ale_reason_ols_use_global*
|
||||
*b:ale_reason_ols_use_global*
|
||||
Type: |String|
|
||||
Default: `0`
|
||||
|
||||
This variable can be set to `1` to always use the globally installed
|
||||
executable. See also |ale-integrations-local-executables|.
|
||||
|
||||
===============================================================================
|
||||
refmt *ale-reasonml-refmt*
|
||||
|
||||
|
||||
@@ -121,6 +121,7 @@ CONTENTS *ale-contents*
|
||||
clang...............................|ale-objcpp-clang|
|
||||
ocaml.................................|ale-ocaml-options|
|
||||
merlin..............................|ale-ocaml-merlin|
|
||||
ols.................................|ale-ocaml-ols|
|
||||
perl..................................|ale-perl-options|
|
||||
perl................................|ale-perl-perl|
|
||||
perlcritic..........................|ale-perl-perlcritic|
|
||||
@@ -154,6 +155,7 @@ CONTENTS *ale-contents*
|
||||
lintr...............................|ale-r-lintr|
|
||||
reasonml..............................|ale-reasonml-options|
|
||||
merlin..............................|ale-reasonml-merlin|
|
||||
ols.................................|ale-reasonml-ols|
|
||||
refmt...............................|ale-reasonml-refmt|
|
||||
restructuredtext......................|ale-restructuredtext-options|
|
||||
write-good..........................|ale-restructuredtext-write-good|
|
||||
@@ -308,7 +310,7 @@ Notes:
|
||||
* nroff: `proselint`, `write-good`
|
||||
* Objective-C: `clang`
|
||||
* Objective-C++: `clang`
|
||||
* OCaml: `merlin` (see |ale-ocaml-merlin|)
|
||||
* OCaml: `merlin` (see |ale-ocaml-merlin|), `ols`
|
||||
* Perl: `perl -c`, `perl-critic`
|
||||
* PHP: `hack`, `hackfmt`, `langserver`, `phan`, `php -l`, `phpcs`, `phpmd`, `phpstan`, `phpcbf`
|
||||
* Pod: `proselint`, `write-good`
|
||||
@@ -317,7 +319,7 @@ Notes:
|
||||
* Puppet: `puppet`, `puppet-lint`
|
||||
* Python: `autopep8`, `flake8`, `isort`, `mypy`, `pycodestyle`, `pyls`, `pylint`!!, `yapf`
|
||||
* R: `lintr`
|
||||
* ReasonML: `merlin`, `refmt`
|
||||
* ReasonML: `merlin`, `ols`, `refmt`
|
||||
* reStructuredText: `proselint`, `rstcheck`, `write-good`
|
||||
* RPM spec: `rpmlint`
|
||||
* Ruby: `brakeman`, `rails_best_practices`!!, `reek`, `rubocop`, `ruby`
|
||||
|
||||
Reference in New Issue
Block a user