tree-sitter: 0.24.6 -> 0.25.1

Changed files
+13 -12
pkgs
development
tools
+3 -3
pkgs/development/tools/parsing/tree-sitter/default.nix
···
# 2) nix-build -A tree-sitter.updater.update-all-grammars
# 3) Set GITHUB_TOKEN env variable to avoid api rate limit (Use a Personal Access Token from https://github.com/settings/tokens It does not need any permissions)
# 4) run the ./result script that is output by that (it updates ./grammars)
-
version = "0.24.6";
-
hash = "sha256-L7F2/S22knqEdB2hxfqLe5Tcgk0WQqBdFQ7BvHFl4EI=";
+
version = "0.25.1";
+
hash = "sha256-xnUhiIeRxD4ZKMUQ6pNEetDqiFqiJsa57BRM2zqNFro=";
src = fetchFromGitHub {
owner = "tree-sitter";
···
inherit src version;
useFetchCargoVendor = true;
-
cargoHash = "sha256-wrMqeJxOj9Jp3luy6ir6UzNQClRglqP8pfoqWk+Ky+w=";
+
cargoHash = "sha256-YaXeApg0U97Bm+kBdFdmfnkgg9GBxxYdaDzgCVN2sbY=";
buildInputs = [ installShellFiles ];
nativeBuildInputs = [ which ] ++ lib.optionals webUISupport [ emscripten ];
+10 -9
pkgs/development/tools/parsing/tree-sitter/remove-web-interface.patch
···
index 4a00747e..e17d253b 100644
--- a/cli/src/lib.rs
+++ b/cli/src/lib.rs
-
@@ -5,7 +5,6 @@ pub mod highlight;
+
@@ -6,7 +6,6 @@ pub mod highlight;
pub mod init;
+
pub mod input;
pub mod logger;
pub mod parse;
-pub mod playground;
···
--- a/cli/src/main.rs
+++ b/cli/src/main.rs
@@ -23,7 +23,7 @@ use tree_sitter_cli::{
-
init::{generate_grammar_files, get_root_path, migrate_package_json, JsonConfigOpts},
+
input::{get_input, get_tmp_source_file, CliInput},
logger,
-
parse::{self, ParseFileOptions, ParseOutput},
-
- playground, query, tags,
-
+ query, tags,
-
test::{self, TestOptions},
-
test_highlight, test_tags, util, wasm,
-
};
-
@@ -1205,10 +1205,8 @@ impl Tags {
+
parse::{self, ParseDebugType, ParseFileOptions, ParseOutput, ParseTheme},
+
- playground, query,
+
+ query,
+
tags::{self, TagsOptions},
+
test::{self, TestOptions, TestStats},
+
test_highlight, test_tags, util, version, wasm,
+
@@ -1614,10 +1614,8 @@ impl Tags {
impl Playground {
fn run(self, current_dir: &Path) -> Result<()> {