help syntax don't support help tags with unicode characters #7402
Labels
bug
issues reporting wrong behavior
bug-vim
wrong behavior inherited from vim
closed:wontfix
current behavior is by design, and change is not desired
runtime
funtime
Here is defined the syntax highlighting pattern for help tags:
neovim/runtime/syntax/help.vim
Lines 22 to 24 in 2f4647e
This pattern doesn't match utf-8 unicode characters. More specifically, the
[
...+-~]
matches the pure ASCII alphabet but not any alphabetic character beyond that. Specifying negative character class using[^ "*\t]
instead of[#-)!+-~]
would match all unicode charactes (and control characters, but those are not supposed to be present in text files except for tabs)A ASCII table would show that out of the
, double quote
#
-)
range, and out of+
-~
with the!
character excluded there are only control characters below 32, space"
, and the star*
The text was updated successfully, but these errors were encountered: