diff options
author | Gregory Anders <8965202+gpanders@users.noreply.github.com> | 2023-08-15 09:25:51 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-15 09:25:51 -0500 |
commit | e72c0cd92090c1fc1e5665a060b3e1d0094d7f30 (patch) | |
tree | 78c1c4f21877e61091daa6df42381712b948ecd5 /runtime/doc/syntax.txt | |
parent | fc14928719df12826397b46b1765b82f1fc7d1d8 (diff) | |
download | rneovim-e72c0cd92090c1fc1e5665a060b3e1d0094d7f30.tar.gz rneovim-e72c0cd92090c1fc1e5665a060b3e1d0094d7f30.tar.bz2 rneovim-e72c0cd92090c1fc1e5665a060b3e1d0094d7f30.zip |
feat(highlight): Allow hyphens (-) in highlight group names (#24714)
Fixes: https://github.com/neovim/neovim/issues/23184
Diffstat (limited to 'runtime/doc/syntax.txt')
-rw-r--r-- | runtime/doc/syntax.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 703ccd2e01..a89884efba 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -188,8 +188,8 @@ thing. These are then linked to a highlight group that specifies the color. A syntax group name doesn't specify any color or attributes itself. The name for a highlight or syntax group must consist of ASCII letters, -digits, underscores, periods and `@` characters. As a regexp it is -`[a-zA-Z0-9_.@]*`. The maximum length of a group name is about 200 bytes. +digits, underscores, periods, hyphens, and `@` characters. As a regexp it is +`[a-zA-Z0-9_.@-]*`. The maximum length of a group name is about 200 bytes. *E1249* To be able to allow each user to pick their favorite set of colors, there must |