summaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters/xmlformat.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/conform/formatters/xmlformat.lua')
-rw-r--r--lua/conform/formatters/xmlformat.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/conform/formatters/xmlformat.lua b/lua/conform/formatters/xmlformat.lua
new file mode 100644
index 0000000..25b48e2
--- /dev/null
+++ b/lua/conform/formatters/xmlformat.lua
@@ -0,0 +1,9 @@
+---@type conform.FormatterConfig
+return {
+ meta = {
+ url = "https://github.com/pamoller/xmlformatter",
+ description = "xmlformatter is an Open Source Python package, which provides formatting of XML documents.",
+ },
+ command = "xmlformat",
+ args = { "-" },
+}