summaryrefslogtreecommitdiff
path: root/doc/ale-ocaml.txt
diff options
context:
space:
mode:
authorAlbert Peschar <albert@peschar.net>2022-07-26 11:55:22 +0300
committerGitHub <noreply@github.com>2022-07-26 17:55:22 +0900
commit854d6063331c686ded959ecb17830fb8c34f2db3 (patch)
treee2c871616021f38761e5f0c9c1bac4158acdb0b0 /doc/ale-ocaml.txt
parent0ea53870b6b93eb3b20dbd8317291cfe06dc38bd (diff)
downloadale-854d6063331c686ded959ecb17830fb8c34f2db3.zip
Add support for Dune (#4263)
* Add support for dune * Add test * Undo reformatting of Markdown file * Refer to ale-ocaml-dune from ale.txt
Diffstat (limited to 'doc/ale-ocaml.txt')
-rw-r--r--doc/ale-ocaml.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/ale-ocaml.txt b/doc/ale-ocaml.txt
index afbc2386..a361a7b4 100644
--- a/doc/ale-ocaml.txt
+++ b/doc/ale-ocaml.txt
@@ -3,6 +3,26 @@ ALE OCaml Integration *ale-ocaml-options*
===============================================================================
+dune *ale-ocaml-dune*
+
+ Dune is a build system for OCaml projects. The `dune format` command is
+ supported for automatically formatting `dune` and `dune-project` files.
+
+g:ale_ocaml_dune_executable *g:ale_ocaml_dune_executable*
+ *b:ale_ocaml_dune_executable*
+ Type: |String|
+ Default: `'dune'`
+
+ This variable can be set to pass the path to dune.
+
+g:ale_ocaml_dune_options *g:ale_ocaml_dune_options*
+ *b:ale_ocaml_dune_options*
+ Type: |String|
+ Default: `''`
+
+ This variable can be set to pass additional options to the dune fixer.
+
+===============================================================================
merlin *ale-ocaml-merlin*
To use merlin linter for OCaml source code you need to make sure Merlin for