summaryrefslogtreecommitdiff
path: root/bs5/.ocamlformat
diff options
context:
space:
mode:
Diffstat (limited to 'bs5/.ocamlformat')
-rw-r--r--bs5/.ocamlformat79
1 files changed, 79 insertions, 0 deletions
diff --git a/bs5/.ocamlformat b/bs5/.ocamlformat
new file mode 100644
index 0000000..bdeaab5
--- /dev/null
+++ b/bs5/.ocamlformat
@@ -0,0 +1,79 @@
+profile=default
+margin=120
+version=0.27.0
+break-cases=toplevel
+break-collection-expressions=wrap
+if-then-else=k-r
+function-indent=2
+extension-indent=2
+indent-after-in=2
+let-binding-indent=2
+match-indent=2
+match-indent-nested=always
+cases-exp-indent=2
+margin=60
+
+max-iters=10
+margin-check=false
+disable=false
+debug=false
+comment-check=true
+wrap-fun-args=true
+wrap-comments=false
+type-decl-indent=2
+type-decl=compact
+stritem-extension-indent=0
+space-around-variants=true
+space-around-records=true
+space-around-lists=true
+space-around-arrays=true
+single-case=compact
+sequence-style=terminator
+sequence-blank-line=preserve-one
+parse-toplevel-phrases=false
+parse-docstrings=false
+parens-tuple-patterns=multi-line-only
+parens-tuple=always
+parens-ite=false
+ocp-indent-compat=false
+nested-match=wrap
+module-item-spacing=compact
+max-indent=68
+match-indent-nested=never
+match-indent=0
+margin=80
+line-endings=lf
+let-module=compact
+let-binding-spacing=compact
+let-binding-indent=2
+let-and=compact
+leading-nested-match-parens=false
+infix-precedence=indent
+indicate-nested-or-patterns=unsafe-no
+indicate-multiline-delimiters=no
+indent-after-in=0
+if-then-else=compact
+function-indent-nested=never
+function-indent=2
+field-space=loose
+extension-indent=2
+exp-grouping=parens
+dock-collection-brackets=true
+doc-comments-tag-only=default
+doc-comments-padding=2
+doc-comments=after-when-possible
+disambiguate-non-breaking-match=false
+cases-matching-exp-indent=normal
+cases-exp-indent=4
+break-struct=force
+break-string-literals=auto
+break-sequences=true
+break-separators=after
+break-infix-before-func=false
+break-infix=wrap
+break-fun-sig=wrap
+break-fun-decl=wrap
+break-collection-expressions=fit-or-vertical
+break-cases=fit
+break-before-in=fit-or-vertical
+assignment-operator=end-line