aboutsummaryrefslogtreecommitdiff
path: root/helix-core
diff options
context:
space:
mode:
authorBlaž Hrastnik2020-10-20 06:42:53 +0000
committerBlaž Hrastnik2020-12-03 04:10:34 +0000
commit49254d7180c8b92be5426cab20914b0343c9282c (patch)
treed779982070907c581511b13598ec148c3055f3a6 /helix-core
parentf9bfba4d96f80eb41beb91702558f6f165a0e70f (diff)
Total mess but it works: diagnostic marking.
Diffstat (limited to 'helix-core')
-rw-r--r--helix-core/src/diagnostic.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/helix-core/src/diagnostic.rs b/helix-core/src/diagnostic.rs
index aee648aa..96ed6746 100644
--- a/helix-core/src/diagnostic.rs
+++ b/helix-core/src/diagnostic.rs
@@ -1 +1,7 @@
-pub struct Diagnostic {}
+use crate::Range;
+
+pub struct Diagnostic {
+ pub range: (usize, usize),
+ pub line: usize,
+ pub message: String,
+}