diff options
| author | Marmare314 <49279081+Marmare314@users.noreply.github.com> | 2023-05-03 11:16:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-03 11:16:38 +0200 |
| commit | edc0632d8c9d7a17cc795a57de27c6b22a748158 (patch) | |
| tree | a1c6e412512bed7b56c7c100b8affeac7e29f389 /src/syntax/lexer.rs | |
| parent | 2772e6436c8a010662820c3e545e69ab922f133a (diff) | |
Add shorthand for root operation (#929)
Diffstat (limited to 'src/syntax/lexer.rs')
| -rw-r--r-- | src/syntax/lexer.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/syntax/lexer.rs b/src/syntax/lexer.rs index dc75a902..eb19d8d9 100644 --- a/src/syntax/lexer.rs +++ b/src/syntax/lexer.rs @@ -437,6 +437,7 @@ impl Lexer<'_> { '/' => SyntaxKind::Slash, '^' => SyntaxKind::Hat, '&' => SyntaxKind::MathAlignPoint, + '√' | '∛' | '∜' => SyntaxKind::Root, // Identifiers. c if is_math_id_start(c) && self.s.at(is_math_id_continue) => { |
