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

@ -0,0 +1,10 @@
[package]
name = "json_language"
version = "0.1.0"
edition = "2021"
[dependencies]
plugin = { path = "../../crates/plugin" }
[lib]
crate-type = ["cdylib"]

View file

@ -0,0 +1,6 @@
use plugin::prelude::*;
#[bind]
pub fn add(a: (f64, f64)) -> f64 {
a.0 + a.1
}