marco_core/intelligence/lsp_protocol.rs
1//! Optional protocol bridge for external LSP transport.
2//!
3//! The editor intelligence system is in-process first. This module exists as
4//! an explicit extension point for protocol adapters.
5
6#[derive(Debug, Default, Clone)]
7/// Capability flags used by external protocol adapters.
8pub struct ProtocolCapabilities {
9 /// Whether diagnostics requests are supported.
10 pub diagnostics: bool,
11 /// Whether hover requests are supported.
12 pub hover: bool,
13 /// Whether completion requests are supported.
14 pub completion: bool,
15 /// Whether semantic highlighting is supported.
16 pub semantic_highlighting: bool,
17}