# Attachment Converter is distributed under the terms of the GNU
# GPL-3.0-or-later.

# Copyright 2026 Matt Teichman and Nathan Mull.


profile = ocamlformat
break-cases = fit-or-vertical
break-collection-expressions = fit-or-vertical
break-infix = wrap-or-vertical
break-infix-before-func = true
break-sequences = true
break-separators = after
break-struct = force
cases-exp-indent = 2
exp-grouping=preserve
field-space = loose
if-then-else = keyword-first
let-and = sparse
let-module = sparse
line-endings = lf
module-item-spacing = compact
margin = 60
parens-ite=false
sequence-style = separator
sequence-blank-line = compact
single-case = compact
space-around-lists = true
space-around-records = true
wrap-comments = true


# This file is part of Attachment Converter.

# Attachment Converter is free software: you can redistribute it
# and/or modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation, either version 3 of
# the License, or (at your option) any later version.

# Attachment Converter is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with Attachment Converter. If not, see
# <https://www.gnu.org/licenses/>.
