Skip to content

Commit

Permalink
Reference Melange docs
Browse files Browse the repository at this point in the history
Signed-off-by: Marek Kubica <marek@tarides.com>
  • Loading branch information
Leonidas-from-XIV committed Mar 19, 2024
1 parent 6f17e68 commit 47bfa1e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions doc/reference/files/dune-project/dialect.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,5 @@ In the default configuration Dune comes with two dialects pre-set and enabled:
* ``reason`` for the Reason syntax and enabled in `.re`/`.rei` files. For
formatting ``refmt`` is used.

When ``(using melange)`` is enabled in the `dune-project` a third dialect is
enabled:

* ``rescript`` for the ReScript syntax which is used in `.res` and `.resi`
files. The formatter in this case is ``rescript_syntax``.
A third dialect called ``rescript`` is added when Melange (see :doc:`melange`)
is enabled in the project.

0 comments on commit 47bfa1e

Please sign in to comment.