diff --git a/crates/typst-syntax/src/lexer.rs b/crates/typst-syntax/src/lexer.rs index a9ffb216a..f0cf8846d 100644 --- a/crates/typst-syntax/src/lexer.rs +++ b/crates/typst-syntax/src/lexer.rs @@ -345,7 +345,10 @@ impl Lexer<'_> { c.is_alphanumeric() && !matches!( c.script(), - Script::Han | Script::Hiragana | Script::Katakana + Script::Han + | Script::Hiragana + | Script::Katakana + | Script::Hangul ) }) };