neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 5f04e4ac4fd0d5058cf339b8824eed41b6981e85
parent 214ce8d33c11f75b3500212258f09b58b3d42e80
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Wed,  9 Oct 2024 07:15:52 +0800

vim-patch:d3b55d7: runtime(help): highlight CTRL-<Key> correctly (#30727)

https://github.com/vim/vim/commit/d3b55d7f76e32e9b7f895fe43f37435ce7bf782e

Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat:
Mruntime/syntax/help.vim | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/runtime/syntax/help.vim b/runtime/syntax/help.vim @@ -1,7 +1,7 @@ " Vim syntax file " Language: Vim help file " Maintainer: The Vim Project <https://github.com/vim/vim> -" Last Change: 2024 Oct 05 +" Last Change: 2024 Oct 08 " Former Maintainer: Bram Moolenaar <Bram@vim.org> " Quit when a (custom) syntax file was already loaded @@ -92,6 +92,7 @@ syn match helpSpecial "\[group]" syn match helpNormal "\[\(readonly\|fifo\|socket\|converted\|crypted\)]" syn match helpSpecial "CTRL-." +syn match helpSpecial "CTRL-<\a\+>" syn match helpSpecial "CTRL-SHIFT-." syn match helpSpecial "CTRL-Break" syn match helpSpecial "CTRL-PageUp"