feat: add xml formatter

This commit is contained in:
CJ van den Berg 2024-12-10 15:26:55 +01:00
parent 2dd75f9ba6
commit 5be7cbff20

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 = .{