diff options
author | Nick Hu <me@nickhu.co.uk> | 2024-03-18 15:10:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-18 08:10:21 -0700 |
commit | 551d02f472b646cb82657700e3459f16d9933005 (patch) | |
tree | 66d37771dc8f68b992b1b1898bfa341c441c2bec /lua/conform/formatters | |
parent | 0a530b31acacf10eca9f9a74b2434ece4d232ca3 (diff) |
feat: add ocp-indent for OCaml formatting (#335)
Diffstat (limited to 'lua/conform/formatters')
-rw-r--r-- | lua/conform/formatters/ocp-indent.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lua/conform/formatters/ocp-indent.lua b/lua/conform/formatters/ocp-indent.lua new file mode 100644 index 0000000..ca069b9 --- /dev/null +++ b/lua/conform/formatters/ocp-indent.lua @@ -0,0 +1,8 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/OCamlPro/ocp-indent", + description = "Automatic indentation of OCaml source files.", + }, + command = "ocp-indent", +} |