diff options
author | Benoît CORTIER | 2021-06-05 16:01:20 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-06-07 00:12:01 +0000 |
commit | 8a29086c1a1948fcfd48228f9271dd0ee90a79db (patch) | |
tree | 8e643713beae636d738d051fbe933713e51d4682 /helix-syntax | |
parent | 16b1cfa3be2665e78bea6c876d3ced96dbfeb44f (diff) |
Fix panic when moving over unicode punctuation
`is_ascii_punctuation` will only work for ASCII punctuations, and when
we have unicode punctuation (or other) we jump into the `unreachable`.
This patch fallback into categorizing everything in this branch as
`Unknown`.
Fixes https://github.com/helix-editor/helix/issues/123
https://github.com/helix-editor/helix/pull/135: add better support for
unicode categories.
Diffstat (limited to 'helix-syntax')
0 files changed, 0 insertions, 0 deletions