diff options
author | Kanenobu Mitsuru <mkanenobu@users.noreply.github.com> | 2019-05-08 02:50:26 +0900 |
---|---|---|
committer | w0rp <w0rp@users.noreply.github.com> | 2019-05-07 18:50:26 +0100 |
commit | c10da0e390b37ae6a739769dffb3b8dcf36a81d0 (patch) | |
tree | f0c61aca339761b7b75c2ef529cccffd38600072 /doc | |
parent | 548ee56f401bf3dea7689b0b00c8fbecd2db48b1 (diff) | |
download | ale-c10da0e390b37ae6a739769dffb3b8dcf36a81d0.zip |
Add fixer for OCaml ocp-indent (#2436)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale-ocaml.txt | 28 | ||||
-rw-r--r-- | doc/ale-supported-languages-and-tools.txt | 1 | ||||
-rw-r--r-- | doc/ale.txt | 1 |
3 files changed, 30 insertions, 0 deletions
diff --git a/doc/ale-ocaml.txt b/doc/ale-ocaml.txt index adf17716..8b644c17 100644 --- a/doc/ale-ocaml.txt +++ b/doc/ale-ocaml.txt @@ -51,4 +51,32 @@ g:ale_ocaml_ocamlformat_options *g:ale_ocaml_ocamlformat_options* This variable can be set to pass additional options to the ocamlformat fixer. =============================================================================== +ocp-indent *ale-ocaml-ocp-indent* + +g:ale_ocaml_ocp_indent_executable *g:ale_ocaml_ocp_indent_executable* + *b:ale_ocaml_ocp_indent_executable* + Type: |String| + Default: `ocp-indent` + + This variable can be set to pass the path of the ocp-indent. + +g:ale_ocaml_ocp_indent_options *g:ale_ocaml_ocp_indent_options* + *b:ale_ocaml_ocp_indent_options* + Type: |String| + Default: `''` + + This variable can be set to pass additional options to the ocp-indent. + +g:ale_ocaml_ocp_indent_config *g:ale_ocaml_ocp_indent_config* + *b:ale_ocaml_ocp_indent_config* + Type: |String| + Default: `''` + + This variable can be set to pass additional config to the ocp-indent. + Expand after "--config=". + + "ocp-indent" can also be enabled from ocamlformat config. + + +=============================================================================== vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: diff --git a/doc/ale-supported-languages-and-tools.txt b/doc/ale-supported-languages-and-tools.txt index 607c65c2..d6fbafa6 100644 --- a/doc/ale-supported-languages-and-tools.txt +++ b/doc/ale-supported-languages-and-tools.txt @@ -293,6 +293,7 @@ Notes: * OCaml * `merlin` (see |ale-ocaml-merlin|) * `ocamlformat` + * `ocp-indent` * `ols` * Pawn * `uncrustify` diff --git a/doc/ale.txt b/doc/ale.txt index 755064c1..b777e575 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -2105,6 +2105,7 @@ documented in additional help files. merlin................................|ale-ocaml-merlin| ols...................................|ale-ocaml-ols| ocamlformat...........................|ale-ocaml-ocamlformat| + ocp-indent............................|ale-ocaml-ocp-indent| pawn....................................|ale-pawn-options| uncrustify............................|ale-pawn-uncrustify| perl....................................|ale-perl-options| |