feat: add csproj file type
This commit is contained in:
parent
de925265a1
commit
a661b63a58
1 changed files with 11 additions and 0 deletions
|
@ -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 = .{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue