runtime(help): Add Vim lang annotation support for codeblocks
closes: #16215 Co-authored-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Shougo Matsushita <Shougo.Matsu@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
3a3a2c921c
commit
6fea0a5480
@ -1,4 +1,4 @@
|
||||
*helphelp.txt* For Vim version 9.1. Last change: 2024 Nov 19
|
||||
*helphelp.txt* For Vim version 9.1. Last change: 2024 Dec 15
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -437,7 +437,13 @@ also implicitly stops the block of ex-commands before it. E.g. >
|
||||
echo "Example"
|
||||
endfunction
|
||||
<
|
||||
|
||||
It's possible to add Vim syntax highlighting support to code examples. This
|
||||
can be done by adding "vim" after the greater than (>) character (">vim").
|
||||
E.g: >vim
|
||||
function Example_Func()
|
||||
echo "Example"
|
||||
endfunction
|
||||
<
|
||||
The following are highlighted differently in a Vim help file:
|
||||
- a special key name expressed either in <> notation as in <PageDown>, or
|
||||
as a Ctrl character as in CTRL-X
|
||||
|
||||
Reference in New Issue
Block a user