From 7d063aa10b8c897b2ce4af6459024c2c17d8d7d5 Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Sun, 21 Jul 2024 10:59:05 -0400 Subject: [PATCH] erlang: Upgrade `zed_extension_api` to v0.0.6 (#14914) This PR upgrades the Erlang extension to use v0.0.6 of the `zed_extension_api`. Release Notes: - N/A --- Cargo.lock | 2 +- extensions/erlang/Cargo.toml | 2 +- extensions/erlang/src/erlang.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f1f5b42fa4..ceccb8a4ca 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -13910,7 +13910,7 @@ dependencies = [ name = "zed_erlang" version = "0.0.1" dependencies = [ - "zed_extension_api 0.0.4", + "zed_extension_api 0.0.6", ] [[package]] diff --git a/extensions/erlang/Cargo.toml b/extensions/erlang/Cargo.toml index 5fae480ec7..c419e02de7 100644 --- a/extensions/erlang/Cargo.toml +++ b/extensions/erlang/Cargo.toml @@ -13,4 +13,4 @@ path = "src/erlang.rs" crate-type = ["cdylib"] [dependencies] -zed_extension_api = "0.0.4" +zed_extension_api = "0.0.6" diff --git a/extensions/erlang/src/erlang.rs b/extensions/erlang/src/erlang.rs index ea2018497f..2fc9af9a6a 100644 --- a/extensions/erlang/src/erlang.rs +++ b/extensions/erlang/src/erlang.rs @@ -9,7 +9,7 @@ impl zed::Extension for ErlangExtension { fn language_server_command( &mut self, - _config: zed::LanguageServerConfig, + _language_server_id: &zed::LanguageServerId, worktree: &zed::Worktree, ) -> Result { let path = worktree