Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix reading workspace-level LSP settings in extensions (#10859)

Marshall Bowersb964fe2ccf1e
diff --git a/crates/extension/src/wasm_host/wit/since_v0_0_6.rs b/crates/extension/src/wasm_host/wit/since_v0_0_6.rs
index 2c201169a0e..7d3c7b63802 100644
--- a/crates/extension/src/wasm_host/wit/since_v0_0_6.rs
+++ b/crates/extension/src/wasm_host/wit/since_v0_0_6.rs
@@ -227,7 +227,7 @@ impl ExtensionImports for WasmState {
"lsp" => {
let settings = key
.and_then(|key| {
- ProjectSettings::get_global(cx)
+ ProjectSettings::get(location, cx)
.lsp
.get(&Arc::<str>::from(key))
})