-
Notifications
You must be signed in to change notification settings - Fork 1
/
.ocamlformat
70 lines (68 loc) · 1.94 KB
/
.ocamlformat
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# "Asemio Style" v1.3
# Last updated for ocamlformat 0.25.1
ocaml-version=5.0.0
# All available options are listed.
# An option is commented out when the value matches the default
# When updating ocamlformat, update this file:
# - add any new options
# - try out new values for existing options
# - if a default changed, see if we should follow it or not
# assignment-operator = end-line
# break-before-in = fit-or-vertical
break-cases = all
# break-collection-expressions = fit-or-vertical
# break-colon = after
# break-fun-decl = wrap
# break-fun-sig = wrap
break-infix = fit-or-vertical
# break-infix-before-func = false
# break-separators = after
# break-sequences = true
# break-string-literals = auto
# break-struct = force
cases-exp-indent = 2
# cases-matching-exp-indent = normal
disambiguate-non-breaking-match = true
doc-comments = before
# doc-comments-padding = 2
# doc-comments-tag-only = default
# dock-collection-brackets = true
exp-grouping = preserve
# extension-indent = 2
field-space = tight-decl
function-indent = 0
# function-indent-nested = never
if-then-else = keyword-first
# indent-after-in = 0
indicate-multiline-delimiters = space
indicate-nested-or-patterns = space
# infix-precedence = indent
# leading-nested-match-parens = false
let-and = sparse
# let-binding-indent = 2
# let-binding-spacing = compact
# let-module = compact
# line-endings = lf
margin = 106
# match-indent = 0
# match-indent-nested = never
max-indent = 2
module-item-spacing = sparse
# nested-match = wrap
parens-ite = true
parens-tuple = multi-line-only
# parens-tuple-patterns = multi-line-only
# parse-docstrings = false
# parse-toplevel-phrases = false
# sequence-blank-line = preserve-one
# sequence-style = terminator
single-case = sparse
# space-around-arrays = true
# space-around-lists = true
# space-around-records = true
# space-around-variants = true
# stritem-extension-indent = 0
type-decl = sparse
# type-decl-indent = 2
# wrap-comments = false
# wrap-fun-args = true