diff options
Diffstat (limited to 'lua/mason-registry/index/ocamlformat/init.lua')
| -rw-r--r-- | lua/mason-registry/index/ocamlformat/init.lua | 15 |
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" } }, +} |
