feat: add csproj file type

This commit is contained in:
CJ van den Berg 2025-09-11 10:25:02 +02:00
parent de925265a1
commit a661b63a58
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -71,6 +71,16 @@ pub const cpp = .{
.injections = "tree-sitter-cpp/queries/injections.scm", .injections = "tree-sitter-cpp/queries/injections.scm",
}; };
pub const csproj = .{
.description = "C# Project",
.color = 0x68217a,
.icon = "󰌛",
.extensions = .{"csproj"},
.comment = "<!--",
.highlights = "tree-sitter-xml/queries/xml/highlights.scm",
.parser = xml.parser,
};
pub const css = .{ pub const css = .{
.description = "CSS", .description = "CSS",
.color = 0x3d8fc6, .color = 0x3d8fc6,
@ -533,6 +543,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 = FirstLineMatch{ .prefix = "<?xml " }, .first_line_matches = FirstLineMatch{ .prefix = "<?xml " },
.parser = @import("file_type.zig").Parser("xml"),
}; };
pub const yaml = .{ pub const yaml = .{