Skip to content

Commit f534fd5

Browse files
authored
Merge pull request #1874 from h-east/update-helphelp
Update helphelp.{txt,jax}
2 parents 7ba8459 + 4761ae5 commit f534fd5

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

doc/helphelp.jax

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*helphelp.txt* For Vim バージョン 9.1. Last change: 2024 Nov 19
1+
*helphelp.txt* For Vim バージョン 9.1. Last change: 2024 Dec 15
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -430,7 +430,13 @@ Ex コマンドのブロックを例示するときは、大なり記号 (>) を
430430
echo "Example"
431431
endfunction
432432
<
433-
433+
コード例に Vim 構文ハイライトサポートを追加することができます。これは、大なり
434+
記号 (>) の後に "vim" を追加することで可能です (">vim")。
435+
例: >vim
436+
function Example_Func()
437+
echo "Example"
438+
endfunction
439+
<
434440
Vim ヘルプファイルでは以下のものがそれぞれハイライトされます:
435441
- 特殊キーの名前。<PageDown> のような <> 表記で書かれたものと、CTRL-X のよう
436442
に書かれた制御文字。

en/helphelp.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*helphelp.txt* For Vim version 9.1. Last change: 2024 Nov 19
1+
*helphelp.txt* For Vim version 9.1. Last change: 2024 Dec 15
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -437,7 +437,13 @@ also implicitly stops the block of ex-commands before it. E.g. >
437437
echo "Example"
438438
endfunction
439439
<
440-
440+
It's possible to add Vim syntax highlighting support to code examples. This
441+
can be done by adding "vim" after the greater than (>) character (">vim").
442+
E.g: >vim
443+
function Example_Func()
444+
echo "Example"
445+
endfunction
446+
<
441447
The following are highlighted differently in a Vim help file:
442448
- a special key name expressed either in <> notation as in <PageDown>, or
443449
as a Ctrl character as in CTRL-X

0 commit comments

Comments
 (0)