feat: add wikitext file type
This commit is contained in:
parent
10b92330cf
commit
da5e5c29d8
3 changed files with 9 additions and 2 deletions
|
|
@ -100,6 +100,7 @@ pub fn build(b: *std.Build) void {
|
||||||
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-typst/queries/typst/highlights.scm");
|
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-typst/queries/typst/highlights.scm");
|
||||||
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-uxntal/queries/highlights.scm");
|
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-uxntal/queries/highlights.scm");
|
||||||
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-vim/queries/vim/highlights.scm");
|
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-vim/queries/vim/highlights.scm");
|
||||||
|
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-wikitext/queries/highlights.scm");
|
||||||
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-xml/queries/dtd/highlights.scm");
|
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-xml/queries/dtd/highlights.scm");
|
||||||
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-xml/queries/xml/highlights.scm");
|
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-xml/queries/xml/highlights.scm");
|
||||||
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-yaml/queries/highlights.scm");
|
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-yaml/queries/highlights.scm");
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@
|
||||||
|
|
||||||
.dependencies = .{
|
.dependencies = .{
|
||||||
.tree_sitter = .{
|
.tree_sitter = .{
|
||||||
.url = "https://github.com/neurocyte/tree-sitter/releases/download/master-3cfb01c2f3349791a500f59bcc89b867d017d5b8/source.tar.gz",
|
.url = "https://github.com/neurocyte/tree-sitter/releases/download/master-ef57e4f04a2e90d16b6bd12e7f9a07916b8eef8e/source.tar.gz",
|
||||||
.hash = "tree_sitter-0.22.4-150-g7e3f5726-z0LhyI7XuS7mSbx26jCz5VkJ_c1oL8vvC6WBgx0Idkpg",
|
.hash = "tree_sitter-0.22.4-150-g7e3f5726-z0LhyFUOyi7KEqQhdl7QabUmKf6dyl1rQnvmRoGQJAgW",
|
||||||
},
|
},
|
||||||
.cbor = .{
|
.cbor = .{
|
||||||
.url = "git+https://github.com/neurocyte/cbor?ref=master#7d2eeb68c8a2fb3f4d6baad6cc04c521b92974c0",
|
.url = "git+https://github.com/neurocyte/cbor?ref=master#7d2eeb68c8a2fb3f4d6baad6cc04c521b92974c0",
|
||||||
|
|
|
||||||
|
|
@ -614,6 +614,12 @@ pub const vim = .{
|
||||||
.injections = "tree-sitter-vim/queries/vim/injections.scm",
|
.injections = "tree-sitter-vim/queries/vim/injections.scm",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pub const wikitext = .{
|
||||||
|
.description = "WIKITEXT",
|
||||||
|
.extensions = .{"wikitext", "mediawiki", "wikimedia"},
|
||||||
|
.comment = "<!--",
|
||||||
|
};
|
||||||
|
|
||||||
pub const xml = .{
|
pub const xml = .{
|
||||||
.description = "XML",
|
.description = "XML",
|
||||||
.icon = "",
|
.icon = "",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue