aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-10-09 07:15:52 +0800
committerGitHub <noreply@github.com>2024-10-09 07:15:52 +0800
commit5f04e4ac4fd0d5058cf339b8824eed41b6981e85 (patch)
tree29495166151c2df1a4acf639d730b4061e2bf1a2
parent214ce8d33c11f75b3500212258f09b58b3d42e80 (diff)
downloadrneovim-5f04e4ac4fd0d5058cf339b8824eed41b6981e85.tar.gz
rneovim-5f04e4ac4fd0d5058cf339b8824eed41b6981e85.tar.bz2
rneovim-5f04e4ac4fd0d5058cf339b8824eed41b6981e85.zip
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>
-rw-r--r--runtime/syntax/help.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/syntax/help.vim b/runtime/syntax/help.vim
index fd128bb0b5..bccbacaeec 100644
--- 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"