blob: 280d9fcf42847a4bb0d0699030bd25d20c38524b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
version = 0.29.0
# `compact`/`sparse` profiles were removed in 0.22; `ocamlformat` is the
# densest remaining base. The knobs below tighten it further.
profile = ocamlformat
# Wider lines pack more per line -> fewer wraps, denser code.
margin = 100
# No blank lines forced between structure items / let bindings.
module-item-spacing = compact
let-binding-spacing = compact
# Tight delimiters: no inner spaces in [..], {..}, (..), arrays.
space-around-lists = false
space-around-arrays = false
space-around-records = false
space-around-variants = false
field-space = tight
# Keep conditionals and matches on as few lines as fit.
if-then-else = compact
break-cases = fit
break-infix = fit-or-vertical
break-separators = after
parens-tuple = multi-line-only
sequence-style = terminator
# Don't reflow comment text; leave doc comments as written.
wrap-comments = false
doc-comments = before
|