feat: add awk file type

This commit is contained in:
CJ van den Berg 2025-09-29 15:48:16 +02:00
parent 68932ba74b
commit 54cebe31e6
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
2 changed files with 8 additions and 0 deletions

View file

@ -37,6 +37,7 @@ pub fn build(b: *std.Build) void {
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "queries/cmake/highlights.scm");
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-agda/queries/highlights.scm");
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-astro/queries/highlights.scm");
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-awk/queries/highlights.scm");
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-bash/queries/highlights.scm");
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-c-sharp/queries/highlights.scm");
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-c/queries/highlights.scm");

View file

@ -14,6 +14,13 @@ pub const astro = .{
.comment = "//",
};
pub const awk = .{
.description = "Awk",
.icon = "",
.extensions = .{"awk", "gawk"},
.comment = "#",
};
pub const bash = .{
.description = "Bash",
.color = 0x3e474a,