aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-registry/index/xmlformatter/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/mason-registry/index/xmlformatter/init.lua')
-rw-r--r--lua/mason-registry/index/xmlformatter/init.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/lua/mason-registry/index/xmlformatter/init.lua b/lua/mason-registry/index/xmlformatter/init.lua
new file mode 100644
index 00000000..9a8e0285
--- /dev/null
+++ b/lua/mason-registry/index/xmlformatter/init.lua
@@ -0,0 +1,17 @@
+local Pkg = require "mason-core.package"
+local pip3 = require "mason-core.managers.pip3"
+local _ = require "mason-core.functional"
+
+return Pkg.new {
+ name = "xmlformatter",
+ desc = _.dedent [[
+ xmlformatter is an Open Source Python package that provides formatting of XML documents. xmlformatter differs
+ from others formatters by handling whitespaces by a distinct set of formatting rules - formatting element
+ content by an object style and mixed content by a text style. You may find xmlformatter useful for corrections
+ and presentations.
+ ]],
+ homepage = "https://github.com/pamoller/xmlformatter",
+ languages = { Pkg.Lang.XML },
+ categories = { Pkg.Cat.Formatter },
+ install = pip3.packages { "xmlformatter", bin = { "xmlformat" } },
+}