diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-01-30 23:08:43 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-01-30 23:08:43 +0100 |
| commit | e1f2acff621bf8a4e14dcf1f0b82578defa35e3a (patch) | |
| tree | 20c255f447022f38c6f5d1b067a81f439e516fa5 /src/syntax/parser.rs | |
| parent | 0ef1b02ee04a5abbe05d047a46e5de33554b1410 (diff) | |
No text hashtags
Diffstat (limited to 'src/syntax/parser.rs')
| -rw-r--r-- | src/syntax/parser.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/syntax/parser.rs b/src/syntax/parser.rs index 1f9bdedd..afb207b6 100644 --- a/src/syntax/parser.rs +++ b/src/syntax/parser.rs @@ -485,6 +485,7 @@ fn embedded_code_expr(p: &mut Parser) { p.stop_at_newline(true); p.enter(LexMode::Code); p.assert(SyntaxKind::Hashtag); + p.unskip(); let stmt = matches!( p.current(), |
