diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-04-13 14:48:19 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-04-13 14:48:19 +0200 |
| commit | 67e9313b9127b70b9d7dad6540853025ae90b4a5 (patch) | |
| tree | 9f060b1982534ad67ee5a0688927071aa08dd96c /src/syntax/highlight.rs | |
| parent | 2279c26543f7edde910fd89a3f8f0710c67249db (diff) | |
Soft breaks and shy hyphens
Diffstat (limited to 'src/syntax/highlight.rs')
| -rw-r--r-- | src/syntax/highlight.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/syntax/highlight.rs b/src/syntax/highlight.rs index 90f1c548..34e5b4a7 100644 --- a/src/syntax/highlight.rs +++ b/src/syntax/highlight.rs @@ -126,8 +126,9 @@ impl Category { _ => Some(Category::Operator), }, NodeKind::EnumNumbering(_) => Some(Category::List), - NodeKind::Linebreak => Some(Category::Shortcut), + NodeKind::Linebreak(_) => Some(Category::Shortcut), NodeKind::NonBreakingSpace => Some(Category::Shortcut), + NodeKind::Shy => Some(Category::Shortcut), NodeKind::EnDash => Some(Category::Shortcut), NodeKind::EmDash => Some(Category::Shortcut), NodeKind::Escape(_) => Some(Category::Escape), |
