Skip to content

Commit

Permalink
Fix language server ID type in lsp_workspace_command (#11105)
Browse files Browse the repository at this point in the history
  • Loading branch information
the-mikedavis committed Jul 6, 2024
1 parent 06d8fee commit 1fb99ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion helix-term/src/commands/typed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 = ();
Expand Down

0 comments on commit 1fb99ec

Please sign in to comment.