Skip to content

Instantly share code, notes, and snippets.

@hcarty
Last active December 5, 2019 23:44
Show Gist options
  • Save hcarty/56a8760cb5547c79a582940a6d15ef8a to your computer and use it in GitHub Desktop.
Save hcarty/56a8760cb5547c79a582940a6d15ef8a to your computer and use it in GitHub Desktop.
Experimenting with ocamlformat settings
version = 0.12
profile = default
break-cases = toplevel
break-fun-decl = fit-or-vertical
break-infix = fit-or-vertical
cases-exp-indent = 2
doc-comments-padding = 1
if-then-else = k-r
indicate-multiline-delimiters = closing-on-separate-line
leading-nested-match-parens = true
let-and = sparse
let-open = preserve
module-item-spacing = preserve
parens-ite = true
parens-tuple-patterns = always
parse-docstrings = true
single-case = sparse
type-decl = sparse
wrap-comments = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment