summaryrefslogtreecommitdiff
path: root/helix-core/src/diagnostic.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-core/src/diagnostic.rs')
-rw-r--r--helix-core/src/diagnostic.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/helix-core/src/diagnostic.rs b/helix-core/src/diagnostic.rs
index 0b75d2a5..52d77a9a 100644
--- a/helix-core/src/diagnostic.rs
+++ b/helix-core/src/diagnostic.rs
@@ -39,6 +39,10 @@ pub enum DiagnosticTag {
#[derive(Debug, Clone)]
pub struct Diagnostic {
pub range: Range,
+ // whether this diagnostic ends at the end of(or inside) a word
+ pub ends_at_word: bool,
+ pub starts_at_word: bool,
+ pub zero_width: bool,
pub line: usize,
pub message: String,
pub severity: Option<Severity>,