This makes this take the LSP adapter delegate instead of the binary itself. Despite us passing `LanguageServerBinaryOptions` with `allow_download: false`, extensions would still try to download the binary because it was never implemented for these to respect that. This would cause us to try to download all langauge servers provided by extensions when opening a settings file and/or requesting the JSON schema for that. This PR fixes this by passing the LSP adapter delegate instead, so the few language servers which actually want to have the binary for resolving the initialization options can decide on this by themselves. With that, we no longer download all language servers for the schema request Release Notes: - N/A
33 lines
614 B
TOML
33 lines
614 B
TOML
[package]
|
|
name = "json_schema_store"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/json_schema_store.rs"
|
|
|
|
[features]
|
|
default = []
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
dap.workspace = true
|
|
extension.workspace = true
|
|
gpui.workspace = true
|
|
language.workspace = true
|
|
paths.workspace = true
|
|
project.workspace = true
|
|
schemars.workspace = true
|
|
serde_json.workspace = true
|
|
serde.workspace = true
|
|
settings.workspace = true
|
|
snippet_provider.workspace = true
|
|
task.workspace = true
|
|
theme.workspace = true
|
|
util.workspace = true
|