Start switching JSON LSP adapter to plugin (take 2)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
[package]
|
||||
name = "json_language"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
plugin = { path = "../../crates/plugin" }
|
||||
|
||||
[lib]
|
||||
crate-type = ["cdylib"]
|
||||
@@ -0,0 +1,6 @@
|
||||
use plugin::prelude::*;
|
||||
|
||||
#[bind]
|
||||
pub fn add(a: (f64, f64)) -> f64 {
|
||||
a.0 + a.1
|
||||
}
|
||||
Reference in New Issue
Block a user