Start switching JSON LSP adapter to plugin (take 2)

This commit is contained in:
Isaac Clayton 2022-06-03 14:42:50 +02:00
parent 35b2eff29c
commit 7dd3114a7a
22 changed files with 372 additions and 100 deletions

View file

@ -6,10 +6,11 @@ use std::{borrow::Cow, str, sync::Arc};
mod c;
mod go;
mod installation;
mod json;
mod python;
mod language_plugin;
mod rust;
mod typescript;
// mod json;
#[derive(RustEmbed)]
#[folder = "src/languages"]
@ -37,7 +38,7 @@ pub fn build_language_registry(login_shell_env_loaded: Task<()>) -> LanguageRegi
(
"json",
tree_sitter_json::language(),
Some(Arc::new(json::JsonLspAdapter)),
Some(Arc::new(language_plugin::new_json())),
),
(
"markdown",