feat: add xml formatter
This commit is contained in:
parent
2dd75f9ba6
commit
5be7cbff20
1 changed files with 1 additions and 0 deletions
|
@ -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 = .{
|
||||||
|
|
Loading…
Add table
Reference in a new issue