summaryrefslogtreecommitdiff
path: root/crates/typst-syntax/src/kind.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/typst-syntax/src/kind.rs')
-rw-r--r--crates/typst-syntax/src/kind.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/typst-syntax/src/kind.rs b/crates/typst-syntax/src/kind.rs
index 7505dbc6..a4456b9f 100644
--- a/crates/typst-syntax/src/kind.rs
+++ b/crates/typst-syntax/src/kind.rs
@@ -75,6 +75,8 @@ pub enum SyntaxKind {
Math,
/// An identifier in math: `pi`.
MathIdent,
+ /// A shorthand for a unicode codepoint in math: `a <= b`.
+ MathShorthand,
/// An alignment point in math: `&`.
MathAlignPoint,
/// Matched delimiters in math: `[x + y]`.
@@ -400,6 +402,7 @@ impl SyntaxKind {
Self::Equation => "equation",
Self::Math => "math",
Self::MathIdent => "math identifier",
+ Self::MathShorthand => "math shorthand",
Self::MathAlignPoint => "math alignment point",
Self::MathDelimited => "delimited math",
Self::MathAttach => "math attachments",