From 1fb99ec3b26c833984ef90448d3beb207f56d675 Mon Sep 17 00:00:00 2001
From: Michael Davis <mcarsondavis@gmail.com>
Date: Sat, 6 Jul 2024 12:39:55 -0500
Subject: [PATCH] Fix language server ID type in lsp_workspace_command (#11105)

---
 helix-term/src/commands/typed.rs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/helix-term/src/commands/typed.rs b/helix-term/src/commands/typed.rs
index 3a8ed146..032f016f 100644
--- a/helix-term/src/commands/typed.rs
+++ b/helix-term/src/commands/typed.rs
@@ -9,6 +9,7 @@ use super::*;
 use helix_core::fuzzy::fuzzy_match;
 use helix_core::indent::MAX_INDENT;
 use helix_core::{line_ending, shellwords::Shellwords};
+use helix_lsp::LanguageServerId;
 use helix_view::document::{read_to_string, DEFAULT_LANGUAGE_NAME};
 use helix_view::editor::{CloseError, ConfigEvent};
 use serde_json::Value;
@@ -1371,7 +1372,7 @@ fn lsp_workspace_command(
         return Ok(());
     }
 
-    struct LsIdCommand(usize, helix_lsp::lsp::Command);
+    struct LsIdCommand(LanguageServerId, helix_lsp::lsp::Command);
 
     impl ui::menu::Item for LsIdCommand {
         type Data = ();