Compare commits
2 commits
add-wikite
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 6cedbcb362 | |||
| 1624276f9c |
4 changed files with 4 additions and 10 deletions
|
|
@ -100,7 +100,6 @@ 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");
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
.{
|
.{
|
||||||
.name = .flow_syntax,
|
.name = .flow_syntax,
|
||||||
.version = "0.1.0",
|
.version = "0.6.0",
|
||||||
.fingerprint = 0x3ba2584ea1cec85f,
|
.fingerprint = 0x3ba2584ea1cec85f,
|
||||||
.minimum_zig_version = "0.15.0",
|
.minimum_zig_version = "0.15.0",
|
||||||
|
|
||||||
.dependencies = .{
|
.dependencies = .{
|
||||||
.tree_sitter = .{
|
.tree_sitter = .{
|
||||||
.url = "https://github.com/neurocyte/tree-sitter/releases/download/master-ef57e4f04a2e90d16b6bd12e7f9a07916b8eef8e/source.tar.gz",
|
.url = "https://github.com/neurocyte/tree-sitter/releases/download/master-3cfb01c2f3349791a500f59bcc89b867d017d5b8/source.tar.gz",
|
||||||
.hash = "tree_sitter-0.22.4-150-g7e3f5726-z0LhyFUOyi7KEqQhdl7QabUmKf6dyl1rQnvmRoGQJAgW",
|
.hash = "tree_sitter-0.22.4-150-g7e3f5726-z0LhyI7XuS7mSbx26jCz5VkJ_c1oL8vvC6WBgx0Idkpg",
|
||||||
},
|
},
|
||||||
.cbor = .{
|
.cbor = .{
|
||||||
.url = "git+https://github.com/neurocyte/cbor?ref=master#7d2eeb68c8a2fb3f4d6baad6cc04c521b92974c0",
|
.url = "git+https://github.com/neurocyte/cbor?ref=master#7d2eeb68c8a2fb3f4d6baad6cc04c521b92974c0",
|
||||||
|
|
|
||||||
|
|
@ -614,12 +614,6 @@ 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 = "",
|
||||||
|
|
|
||||||
|
|
@ -87,6 +87,7 @@ pub const Tree = struct {
|
||||||
pub fn edit(_: *Tree, _: *const InputEdit) void {}
|
pub fn edit(_: *Tree, _: *const InputEdit) void {}
|
||||||
};
|
};
|
||||||
pub const Node = struct {
|
pub const Node = struct {
|
||||||
|
tree: ?*Tree = null,
|
||||||
var dummy: @This() = .{};
|
var dummy: @This() = .{};
|
||||||
pub fn getRange(_: *const @This()) Range {
|
pub fn getRange(_: *const @This()) Range {
|
||||||
return .{};
|
return .{};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue