Skip to content

Commit

Permalink
chore: add plugin metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
oknozor committed Oct 18, 2022
1 parent dda60f2 commit 8a1a278
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
10 changes: 6 additions & 4 deletions Cargo.toml
@@ -1,17 +1,19 @@
[package]
edition = "2021"
name = "lapce-plugin-template"
version = "0.0.0"
name = "lapce-java"
version = "0.2.0"
resolver = "2"

[target.'cfg(target_os = "wasi")'.dependencies]

# default deps for all lapce plugins
anyhow = "1.0"
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
# lapce-plugin = { git = "https://github.com/lapce/lapce-plugin-rust.git", branch = "volt" }
lapce-plugin = { git = "https://github.com/panekj/lapce-plugin-rust.git", branch = "volt" }
# replace with upstream when https://github.com/alexcrichton/tar-rs/pull/303 gets merged
tar = { git = "https://github.com/oknozor/tar-rs/", branch = "ignore-perm-on-wasm" }
flate2 = "1.0"


[profile.release]
opt-level = 3
Expand Down
20 changes: 14 additions & 6 deletions volt.toml
@@ -1,6 +1,14 @@
name = "<plugin-name>"
version = "0.0.0"
author = "<your name>"
display-name = "<plugin-display-name>"
description = "<plugin-description>"
wasm = "bin/<plugin-name>.wasm"
name = "lapce-java"
version = "0.2.0"
author = "Paul Delafosse <paul.delfafosse@gmail.com>"
display-name = "Java"
description = "Lapce LSP plugin for java, powered by Eclipse JDT Language Server"
wasm = "bin/lapce-java.wasm"

[activation]
language = ["java"]
workspace-contains = ["*/*.java"]

[config."lombok"]
default = false
description = "Enable the lombok java agent"

0 comments on commit 8a1a278

Please sign in to comment.