diff --git a/assets/settings/default.json b/assets/settings/default.json index 9f4f2dc34c0d9..9dbfc08e8d9d7 100644 --- a/assets/settings/default.json +++ b/assets/settings/default.json @@ -1103,6 +1103,9 @@ "prettier": { "allowed": true } + }, + "Zig": { + "language_servers": ["zls", "..."] } }, // Different settings for specific language models. diff --git a/crates/lsp/src/lsp.rs b/crates/lsp/src/lsp.rs index 473a7ac64eb34..25b6167c7472a 100644 --- a/crates/lsp/src/lsp.rs +++ b/crates/lsp/src/lsp.rs @@ -284,6 +284,7 @@ impl LspRequestFuture for LspRequest { } /// Combined capabilities of the server and the adapter. +#[derive(Debug)] pub struct AdapterServerCapabilities { // Reported capabilities by the server pub server_capabilities: ServerCapabilities,