Add basic support for precompiling plugins
This commit is contained in:
parent
895747476f
commit
a16fc2ba0c
5 changed files with 51 additions and 12 deletions
|
@ -21,7 +21,10 @@ pub async fn new_json(executor: Arc<Background>) -> Result<PluginLspAdapter> {
|
|||
.log_err()
|
||||
.map(|output| output.stdout)
|
||||
})?
|
||||
.init(include_bytes!("../../../../plugins/bin/json_language.wasm"))
|
||||
.init(
|
||||
true,
|
||||
include_bytes!("../../../../plugins/bin/json_language.wasm.pre"),
|
||||
)
|
||||
.await?;
|
||||
PluginLspAdapter::new(plugin, executor).await
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue