Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-term/src/commands/syntax.rs')
-rw-r--r--helix-term/src/commands/syntax.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/helix-term/src/commands/syntax.rs b/helix-term/src/commands/syntax.rs
index ae6fcec6..5070ec45 100644
--- a/helix-term/src/commands/syntax.rs
+++ b/helix-term/src/commands/syntax.rs
@@ -39,6 +39,7 @@ use super::Context;
enum TagKind {
Class,
Constant,
+ Enum,
Function,
Interface,
Macro,
@@ -53,6 +54,7 @@ impl TagKind {
match self {
Self::Class => "class",
Self::Constant => "constant",
+ Self::Enum => "enum",
Self::Function => "function",
Self::Interface => "interface",
Self::Macro => "macro",
@@ -67,6 +69,7 @@ impl TagKind {
match name {
"class" => Some(TagKind::Class),
"constant" => Some(TagKind::Constant),
+ "enum" => Some(TagKind::Enum),
"function" => Some(TagKind::Function),
"interface" => Some(TagKind::Interface),
"macro" => Some(TagKind::Macro),