aboutsummaryrefslogtreecommitdiff
path: root/.ocamlformat
diff options
context:
space:
mode:
Diffstat (limited to '.ocamlformat')
-rw-r--r--.ocamlformat11
1 files changed, 11 insertions, 0 deletions
diff --git a/.ocamlformat b/.ocamlformat
new file mode 100644
index 0000000..72fc0fd
--- /dev/null
+++ b/.ocamlformat
@@ -0,0 +1,11 @@
+profile = default
+parens-tuple = always
+sequence-style = terminator
+
+single-case = sparse
+type-decl = sparse
+break-separators = after
+break-cases = fit-or-vertical
+
+# Keep the begin/end blocks
+exp-grouping=preserve