aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-registry/index/ocamlformat/init.lua
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2023-02-20 22:19:39 +0100
committerGitHub <noreply@github.com>2023-02-20 22:19:39 +0100
commitb8a6632a0f2d263199d5d480ca85477fe0f414ab (patch)
tree57e1ee0f3cef078ec144ecdf1b2fa861acf47755 /lua/mason-registry/index/ocamlformat/init.lua
parentchore: autogenerate (#1015) (diff)
downloadmason-b8a6632a0f2d263199d5d480ca85477fe0f414ab.tar
mason-b8a6632a0f2d263199d5d480ca85477fe0f414ab.tar.gz
mason-b8a6632a0f2d263199d5d480ca85477fe0f414ab.tar.bz2
mason-b8a6632a0f2d263199d5d480ca85477fe0f414ab.tar.lz
mason-b8a6632a0f2d263199d5d480ca85477fe0f414ab.tar.xz
mason-b8a6632a0f2d263199d5d480ca85477fe0f414ab.tar.zst
mason-b8a6632a0f2d263199d5d480ca85477fe0f414ab.zip
feat: configurable registries (#1016)
Diffstat (limited to 'lua/mason-registry/index/ocamlformat/init.lua')
-rw-r--r--lua/mason-registry/index/ocamlformat/init.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/lua/mason-registry/index/ocamlformat/init.lua b/lua/mason-registry/index/ocamlformat/init.lua
new file mode 100644
index 00000000..e24f33a9
--- /dev/null
+++ b/lua/mason-registry/index/ocamlformat/init.lua
@@ -0,0 +1,15 @@
+local _ = require "mason-core.functional"
+local Pkg = require "mason-core.package"
+local opam = require "mason-core.managers.opam"
+
+return Pkg.new {
+ name = "ocamlformat",
+ desc = _.dedent [[
+ ocamlformat is a tool for formatting OCaml code. It automatically adjusts the layout of your code to follow the
+ recommended style guidelines, making it easier to read and understand.
+ ]],
+ homepage = "https://github.com/ocaml-ppx/ocamlformat",
+ languages = { Pkg.Lang.OCaml },
+ categories = { Pkg.Cat.Formatter },
+ install = opam.packages { "ocamlformat", bin = { "ocamlformat" } },
+}