diff --git a/Cargo.lock b/Cargo.lock index f9fd9078..6f1aba09 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -567,7 +567,7 @@ dependencies = [ "tower-lsp", "tracing", "tracing-subscriber", - "tree-sitter", + "tree-sitter 0.20.10", "tree-sitter-c", "tree-sitter-c-sharp", "tree-sitter-cpp", @@ -1519,14 +1519,24 @@ dependencies = [ "regex", ] +[[package]] +name = "tree-sitter" +version = "0.22.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bdb9c9f15eae91dcd00ee0d86a281d16e6263786991b662b34fa9632c21a046b" +dependencies = [ + "cc", + "regex", +] + [[package]] name = "tree-sitter-c" -version = "0.20.8" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bbd5f3d8658c08581f8f2adac6c391c2e9fa00fe9246bf6c5f52213b9cc6b72" +checksum = "d463580f35b642e3073d163c9ba84f5212bfde538e5c06c40a085b3d560190ea" dependencies = [ "cc", - "tree-sitter", + "tree-sitter 0.22.2", ] [[package]] @@ -1536,7 +1546,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b9ab3dc608f34924fa9e10533a95f62dbc14b6de0ddd7107722eba66fe19ae31" dependencies = [ "cc", - "tree-sitter", + "tree-sitter 0.20.10", ] [[package]] @@ -1546,7 +1556,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "46b04a5ada71059afb9895966a6cc1094acc8d2ea1971006db26573e7dfebb74" dependencies = [ "cc", - "tree-sitter", + "tree-sitter 0.20.10", ] [[package]] @@ -1556,7 +1566,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1ad6d11f19441b961af2fda7f12f5d0dac325f6d6de83836a1d3750018cc5114" dependencies = [ "cc", - "tree-sitter", + "tree-sitter 0.20.10", ] [[package]] @@ -1566,7 +1576,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d015c02ea98b62c806f7329ff71c383286dfc3a7a7da0cc484f6e42922f73c2c" dependencies = [ "cc", - "tree-sitter", + "tree-sitter 0.20.10", ] [[package]] @@ -1576,7 +1586,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0968cf4962ead1d26da28921dde1fd97407e7bbcf2f959cd20cf04ba2daa9421" dependencies = [ "cc", - "tree-sitter", + "tree-sitter 0.20.10", ] [[package]] @@ -1586,7 +1596,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6c93b1b1fbd0d399db3445f51fd3058e43d0b4dcff62ddbdb46e66550978aa5" dependencies = [ "cc", - "tree-sitter", + "tree-sitter 0.20.10", ] [[package]] @@ -1596,7 +1606,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "44d50ef383469df8485f024c5fb01faced8cb90368192a7ba02605b43b2427fe" dependencies = [ "cc", - "tree-sitter", + "tree-sitter 0.20.10", ] [[package]] @@ -1606,7 +1616,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b0832309b0b2b6d33760ce5c0e818cb47e1d72b468516bfe4134408926fa7594" dependencies = [ "cc", - "tree-sitter", + "tree-sitter 0.20.10", ] [[package]] @@ -1616,7 +1626,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "452e6ee0a14b82a0dcd93400b8d3fe3784fdbd775191a89ef84586e5ccec6be7" dependencies = [ "cc", - "tree-sitter", + "tree-sitter 0.20.10", ] [[package]] @@ -1626,7 +1636,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca517f578a98b23d20780247cc2688407fa81effad5b627a5a364ec3339b53e8" dependencies = [ "cc", - "tree-sitter", + "tree-sitter 0.20.10", ] [[package]] @@ -1636,7 +1646,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c8bc1d2c24276a48ef097a71b56888ac9db63717e8f8d0b324668a27fd619670" dependencies = [ "cc", - "tree-sitter", + "tree-sitter 0.20.10", ] [[package]] diff --git a/harper-ls/Cargo.toml b/harper-ls/Cargo.toml index 0eb146a8..abf18bef 100644 --- a/harper-ls/Cargo.toml +++ b/harper-ls/Cargo.toml @@ -19,7 +19,7 @@ tree-sitter-typescript = "0.20.3" tree-sitter-python = "0.20.4" tree-sitter-javascript = "0.20.1" tree-sitter-go = "0.20.0" -tree-sitter-c = "0.20.7" +tree-sitter-c = "0.21.0" tree-sitter-cpp = "0.20.5" tree-sitter-ruby = "0.20.1" tree-sitter-swift = "=0.4.0"