First Commit

This commit is contained in:
Fabian Stamm
2024-09-29 16:41:44 +02:00
commit 2876eea11f
16 changed files with 3222 additions and 0 deletions

2
crates/zed/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
target/
JsonRPC/

10
crates/zed/Cargo.toml Normal file
View File

@ -0,0 +1,10 @@
[package]
name = "jrpc-syntax"
version = "0.0.1"
edition = "2021"
[lib]
crate-type = ["cdylib"]
[dependencies]
zed_extension_api = "0.1.0"

View File

@ -0,0 +1,7 @@
id = "jrpc-syntax"
name = "JRPC Syntax"
version = "0.0.1"
schema_version = 1
authors = ["Fabian Stamm <dev@fabianstamm.de>"]
description = "Adds JRPC syntax highlighting to Zed"
repository = "https://github.com/"

17
crates/zed/src/lib.rs Normal file
View File

@ -0,0 +1,17 @@
use zed_extension_api as zed;
struct JRPCSyntaxExtension {
// ... state
}
impl zed::Extension for JRPCSyntaxExtension {
fn new() -> Self
where
Self: Sized,
{
todo!()
}
// ...
}
zed::register_extension!(JRPCSyntaxExtension);