Ocamlformat 0.14.2
See full changelog
Changes
- Merge
doc-comments-val
option withdoc-comments
. The placement of documentation comments onval
andexternal
items is now controled bydoc-comments
.doc-comments=after
becomesdoc-comments=after-when-possible
to take into account the technical limitations of ocamlformat;doc-comments=before
is unchanged;doc-comments-val
is now replaced withdoc-comments
. To reproduce the former behaviorsdoc-comments=before
+doc-comments-val=before
: now usedoc-comments=before
;doc-comments=before
+doc-comments-val=after
: now usedoc-comments=before-except-val
;doc-comments=after
+doc-comments-val=before
: this behavior did not make much sense and is not available anymore;doc-comments=after
+doc-comments-val=after
: now usedoc-comments=after-when-possible
. (#1358, @jberdine, @Julow, @gpetiot). This reverts changes introduced in 0.14.1 (#1335) and 0.14.0 (#1012).