Last active
September 18, 2024 14:58
-
-
Save michael-azogu/f47023f0998db355f2ccfb03ea2aac5f to your computer and use it in GitHub Desktop.
ocaml configs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.vscode/ | |
*todo.txt | |
*.a | |
*.o | |
*.bc | |
*.cma | |
*.cmi | |
*.cmo | |
*.cmx | |
*.cmxa | |
*.cmxs | |
*.annot | |
*.opam | |
_opam/ | |
_build/ | |
*.byte | |
*.native | |
*.install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version=0.26.2 | |
profile=conventional | |
# https://github.com/ocaml-ppx/ocamlformat/blob/main/lib/Conf.ml | |
margin=70 | |
module-item-spacing=preserve | |
exp-grouping=preserve | |
parens-ite=true | |
if-then-else=k-r | |
indicate-multiline-delimiters=closing-on-separate-line | |
break-cases=all | |
single-case=sparse | |
cases-matching-exp-indent=compact | |
disambiguate-non-breaking-match=true | |
break-string-literals=never | |
dock-collection-brackets=true | |
break-infix=fit-or-vertical | |
break-infix-before-func=true | |
wrap-fun-args=false | |
break-fun-sig=fit-or-vertical | |
break-fun-decl=fit-or-vertical | |
let-and=compact | |
let-binding-spacing=compact | |
indent-after-in=2 | |
type-decl=sparse | |
type-decl-indent=3 | |
infix-precedence=parens | |
space-around-lists=true | |
sequence-style=separator | |
sequence-blank-line=preserve-one | |
assignment-operator=begin-line | |
doc-comments=before | |
wrap-comments=false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment