diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-08-24 21:08:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-24 21:08:21 +0200 |
commit | c545d514dfe1f45f86a54b313082c5171bb0ce1b (patch) | |
tree | 6095614b6795a105c0e1b2bfc7cc00e0754cd951 /runtime/doc/vim_diff.txt | |
parent | 3b2121cedfd7c2710b69bd38a3eb2ce51e0205e4 (diff) | |
parent | 61be343ec8c5e4d504db7ba975b20af2f46ce50d (diff) | |
download | rneovim-c545d514dfe1f45f86a54b313082c5171bb0ce1b.tar.gz rneovim-c545d514dfe1f45f86a54b313082c5171bb0ce1b.tar.bz2 rneovim-c545d514dfe1f45f86a54b313082c5171bb0ce1b.zip |
Merge pull request #19830 from lewis6991/hlgroup_name
feat(highlight)!: error on invalid names and allow '.' and '@'
Diffstat (limited to 'runtime/doc/vim_diff.txt')
-rw-r--r-- | runtime/doc/vim_diff.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index 53effa1443..0011cd9821 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -390,6 +390,9 @@ Highlight groups: using |n| or |N| |hl-CursorLine| is low-priority unless foreground color is set |hl-VertSplit| superseded by |hl-WinSeparator| + Highlight groups names are allowed to contain the characters `.` and `@`. + It is an error to define a highlight group with a name that doesn't match + the regexp `[a-zA-Z0-9_.@]*` (see |group-name|). Macro/|recording| behavior Replay of a macro recorded during :lmap produces the same actions as when it |