This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,27 @@
formatting
----------
.. describe:: (formatting ...)
.. versionadded:: 2.0
Control automatic formatting. Several forms are accepted:
- To disable automatic formatting completely (equivalent to the behavior in
language 1.x):
.. code:: dune
(formatting disabled)
- To restrict the languages that are considered for formatting:
.. code:: dune
(formatting
(enabled_for <languages>))
The list of `<languages>` can be either ``dune`` (formatting of ``dune``
files) or a :term:`dialect` name.
.. seealso:: :doc:`/howto/formatting`