From 54d9a7b7b27bd9a32583bd3ff9360f91ced28ab7 Mon Sep 17 00:00:00 2001 From: Jakub Panek Date: Fri, 5 Apr 2024 07:09:31 +0200 Subject: [PATCH] fix: switch to tree-sitter-json crate --- lapce-core/Cargo.toml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/lapce-core/Cargo.toml b/lapce-core/Cargo.toml index 836fca75..b83ce606 100644 --- a/lapce-core/Cargo.toml +++ b/lapce-core/Cargo.toml @@ -33,14 +33,12 @@ tree-sitter-bash = { git = "https://github.com/tree-sitter/tree-sitter-bas tree-sitter-c = { version = "0.20.8", optional = true } tree-sitter-cpp = { version = "0.20.5", optional = true } tree-sitter-javascript = { version = "0.20.4", optional = true } -# new version cannot be published on crates.io - https://github.com/tree-sitter/tree-sitter-json/issues/21 -# tree-sitter-json = { version = "0.19.0", optional = true } -tree-sitter-json = { git = "https://github.com/tree-sitter/tree-sitter-json.git", rev = "11e2cc12d9b267766fb11a06e52952792fd8e3f0", optional = true } -tree-sitter-md = { git = "https://github.com/MDeiml/tree-sitter-markdown.git", rev = "272e080bca0efd19a06a7f4252d746417224959e", optional = true } -tree-sitter-python = { version = "0.20.4", optional = true } -tree-sitter-rust = { version = "0.20.4", optional = true } -tree-sitter-toml = { version = "0.20.0", optional = true } -tree-sitter-yaml = { git = "https://github.com/panekj/tree-sitter-yaml", rev = "80c8d76847f03e772c5c524cf29bafb56858a8d1", optional = true } +tree-sitter-json = { version = "0.20.2", optional = true } +tree-sitter-md = { git = "https://github.com/MDeiml/tree-sitter-markdown.git", rev = "272e080bca0efd19a06a7f4252d746417224959e", optional = true } +tree-sitter-python = { version = "0.20.4", optional = true } +tree-sitter-rust = { version = "0.20.4", optional = true } +tree-sitter-toml = { version = "0.20.0", optional = true } +tree-sitter-yaml = { git = "https://github.com/panekj/tree-sitter-yaml", rev = "80c8d76847f03e772c5c524cf29bafb56858a8d1", optional = true } [features] default = []