marco-core 1.1.0

nom-based Markdown parser, HTML renderer, and intelligence features (highlights, diagnostics, completions) for the Marco editor.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Optional protocol bridge for external LSP transport.
//!
//! The editor intelligence system is in-process first. This module exists as
//! an explicit extension point for protocol adapters.

#[derive(Debug, Default, Clone)]
/// Capability flags used by external protocol adapters.
pub struct ProtocolCapabilities {
    /// Whether diagnostics requests are supported.
    pub diagnostics: bool,
    /// Whether hover requests are supported.
    pub hover: bool,
    /// Whether completion requests are supported.
    pub completion: bool,
    /// Whether semantic highlighting is supported.
    pub semantic_highlighting: bool,
}