Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-view/src/handlers/lsp.rs')
| -rw-r--r-- | helix-view/src/handlers/lsp.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/helix-view/src/handlers/lsp.rs b/helix-view/src/handlers/lsp.rs index 81388540..c1041b2a 100644 --- a/helix-view/src/handlers/lsp.rs +++ b/helix-view/src/handlers/lsp.rs @@ -5,7 +5,7 @@ use crate::editor::Action; use crate::events::{ DiagnosticsDidChange, DocumentDidChange, DocumentDidClose, LanguageServerInitialized, }; -use crate::Editor; +use crate::{DocumentId, Editor}; use helix_core::diagnostic::DiagnosticProvider; use helix_core::Uri; use helix_event::register_hook; @@ -14,6 +14,8 @@ use helix_lsp::{lsp, LanguageServerId, OffsetEncoding}; use super::Handlers; +pub struct DocumentColorsEvent(pub DocumentId); + #[derive(Debug, PartialEq, Eq, Clone, Copy)] pub enum SignatureHelpInvoked { Automatic, |