From 3a793b84cd5d6ba891b874c8c9c85bf13d964ce0 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Fri, 27 May 2022 22:48:28 -0400 Subject: [PATCH] Use tree-sitter 0.20 --- Cargo.toml | 4 ++-- bindings/rust/lib.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ba5cb0e..e13283b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "tree-sitter-bash" description = "bash grammar for the tree-sitter parsing library" -version = "0.19.0" +version = "0.20.0" keywords = ["incremental", "parsing", "bash"] categories = ["parsing", "text-editors"] repository = "https://github.com/tree-sitter/tree-sitter-bash" @@ -23,7 +23,7 @@ include = [ path = "bindings/rust/lib.rs" [dependencies] -tree-sitter = "0.19" +tree-sitter = "0.20" [build-dependencies] cc = "1.0" diff --git a/bindings/rust/lib.rs b/bindings/rust/lib.rs index 2aa4f43..c71a77d 100644 --- a/bindings/rust/lib.rs +++ b/bindings/rust/lib.rs @@ -35,7 +35,7 @@ pub const NODE_TYPES: &'static str = include_str!("../../src/node-types.json"); // Uncomment these to include any queries that this grammar contains -// pub const HIGHLIGHTS_QUERY: &'static str = include_str!("../../queries/highlights.scm"); +pub const HIGHLIGHTS_QUERY: &'static str = include_str!("../../queries/highlights.scm"); // pub const INJECTIONS_QUERY: &'static str = include_str!("../../queries/injections.scm"); // pub const LOCALS_QUERY: &'static str = include_str!("../../queries/locals.scm"); // pub const TAGS_QUERY: &'static str = include_str!("../../queries/tags.scm");