mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 01:16:18 +04:00
Fix language server ID type in lsp_workspace_command (#11105)
This commit is contained in:
parent
06d8fee048
commit
1fb99ec3b2
@ -9,6 +9,7 @@
|
||||
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 = ();
|
||||
|
Loading…
Reference in New Issue
Block a user