This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -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`
|
||||
Loading…
Add table
Add a link
Reference in a new issue