Ocaml formatting #8752
Answered
by
lentil32
arpangreat
asked this question in
Q&A
Ocaml formatting
#8752
-
Hey, if anyone can share how to format ocaml code in helix it would be really great. |
Beta Was this translation helpful? Give feedback.
Answered by
lentil32
Jan 6, 2024
Replies: 1 comment 3 replies
-
[[language]]
name = "ocaml"
formatter = { command = "ocamlformat", args = [
"-",
"--impl",
# "--enable-outside-detected-project", # Enable only if you want to format files outside of projects
] } Refer to: Editor setup | ocamlformat 0.26.1 (latest) · OCaml Package |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
arpangreat
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Refer to: Editor setup | ocamlformat 0.26.1 (latest) · OCaml Package