feat: add xml formatter

This commit is contained in:
CJ van den Berg 2024-12-10 15:26:55 +01:00
parent 132518d1ba
commit 8f3b8198e2
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -430,6 +430,7 @@ pub const xml = .{
.comment = "<!--", .comment = "<!--",
.highlights = "tree-sitter-xml/queries/xml/highlights.scm", .highlights = "tree-sitter-xml/queries/xml/highlights.scm",
.first_line_matches = .{ .prefix = "<?xml " }, .first_line_matches = .{ .prefix = "<?xml " },
.formatter = .{ "xmllint", "--format", "-" },
}; };
pub const yaml = .{ pub const yaml = .{