aboutsummaryrefslogtreecommitdiff
path: root/helix-core
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-05-07 05:19:58 +0000
committerBlaž Hrastnik2021-05-07 05:19:58 +0000
commit7c915dc0651f2cd69bc40adca027729c3b12f4e3 (patch)
tree0885df668617196cb1413f02faa8419f17a24b22 /helix-core
parentf8844c68116cbbb1f24c49a5a7da95da7963616e (diff)
Add the :new command, don't crash if saving without filename.
Diffstat (limited to 'helix-core')
-rw-r--r--helix-core/src/diagnostic.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-core/src/diagnostic.rs b/helix-core/src/diagnostic.rs
index 5056c26a..cf58b9af 100644
--- a/helix-core/src/diagnostic.rs
+++ b/helix-core/src/diagnostic.rs
@@ -1,3 +1,4 @@
+#[derive(Eq, PartialEq)]
pub enum Severity {
Error,
Warning,