Re-enable JSON plugin
This commit is contained in:
parent
b3ac63b7b5
commit
52e4774e8a
3 changed files with 6 additions and 116 deletions
|
@ -9,7 +9,6 @@ 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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue