diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 368655fa..79ee1dd9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,6 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 14 + node-version: 16 - run: npm install - run: npm test diff --git a/Cargo.toml b/Cargo.toml index 0925d5af..2cece6f5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "tree-sitter-php" description = "php grammar for the tree-sitter parsing library" -version = "0.19.0" +version = "0.19.1" keywords = ["incremental", "parsing", "php"] categories = ["parsing", "text-editors"] -repository = "https://github.com/tree-sitter/tree-sitter-javascript" +repository = "https://github.com/tree-sitter/tree-sitter-php" edition = "2018" build = "bindings/rust/build.rs" @@ -19,7 +19,7 @@ include = [ path = "bindings/rust/lib.rs" [dependencies] -tree-sitter = "0.19" +tree-sitter = ">= 0.19, < 0.21" [build-dependencies] cc = "1.0" diff --git a/bindings/rust/lib.rs b/bindings/rust/lib.rs index 147fe362..e5e7db76 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 HIGHLIGHT_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");