diff options
| author | Max <me@mkor.je> | 2024-08-09 07:41:01 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-09 07:41:01 +0000 |
| commit | b07607d35e697be3dd5e56945b16afa8103a491e (patch) | |
| tree | 2bd7ceac0b6797c1f156b35a8a21fe68905e00f6 /crates/typst-syntax/src/kind.rs | |
| parent | a6a8cdaa28abe22c3a40e7a96d15e5e02e8a445e (diff) | |
Split shorthands into math and markup, add tilde shorthand (#4706)
Diffstat (limited to 'crates/typst-syntax/src/kind.rs')
| -rw-r--r-- | crates/typst-syntax/src/kind.rs | 3 |
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", |
