Revert "Merge pull request #1359 from zed-industries/plugin-json-enable"

This reverts commit 94b443a704, reversing
changes made to 285832e810.
This commit is contained in:
Max Brunsfeld 2022-07-18 19:00:52 -07:00
parent 142a019ada
commit 815ce22fb7
3 changed files with 110 additions and 6 deletions

View file

@ -9,6 +9,7 @@ use plugin_runtime::{Plugin, PluginBinary, PluginBuilder, WasiFn};
use std::{any::Any, path::PathBuf, sync::Arc};
use util::ResultExt;
#[allow(dead_code)]
pub async fn new_json(executor: Arc<Background>) -> Result<PluginLspAdapter> {
let plugin = PluginBuilder::new_default()?
.host_function_async("command", |command: String| async move {