aboutsummaryrefslogtreecommitdiff
path: root/.ocamlformat
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2022-02-07 16:40:15 +0100
committerSébastien Dailly <sebastien@dailly.me>2022-02-07 16:41:37 +0100
commitd20d14b4f4a903ef9aea4c01dd46fab5ecbab6ae (patch)
tree75a0af2d7819c34ae5f8c0fdabe36eb7e29d5976 /.ocamlformat
parent741f88ab405995003eb6e9f301d3b065c1e84a4a (diff)
Added ocamlformat
Diffstat (limited to '.ocamlformat')
-rw-r--r--.ocamlformat8
1 files changed, 8 insertions, 0 deletions
diff --git a/.ocamlformat b/.ocamlformat
new file mode 100644
index 0000000..1f7d845
--- /dev/null
+++ b/.ocamlformat
@@ -0,0 +1,8 @@
+profile = sparse
+parens-tuple = always
+sequence-style = terminator
+
+single-case = sparse
+type-decl = sparse
+break-separators = before
+break-cases = fit-or-vertical