Skip to content

Commit

Permalink
Merge pull request #1874 from h-east/update-helphelp
Browse files Browse the repository at this point in the history
Update helphelp.{txt,jax}
  • Loading branch information
h-east authored Dec 23, 2024
2 parents 7ba8459 + 4761ae5 commit f534fd5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
10 changes: 8 additions & 2 deletions doc/helphelp.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*helphelp.txt* For Vim バージョン 9.1. Last change: 2024 Nov 19
*helphelp.txt* For Vim バージョン 9.1. Last change: 2024 Dec 15


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -430,7 +430,13 @@ Ex コマンドのブロックを例示するときは、大なり記号 (>) を
echo "Example"
endfunction
<

コード例に Vim 構文ハイライトサポートを追加することができます。これは、大なり
記号 (>) の後に "vim" を追加することで可能です (">vim")。
例: >vim
function Example_Func()
echo "Example"
endfunction
<
Vim ヘルプファイルでは以下のものがそれぞれハイライトされます:
- 特殊キーの名前。<PageDown> のような <> 表記で書かれたものと、CTRL-X のよう
に書かれた制御文字。
Expand Down
10 changes: 8 additions & 2 deletions en/helphelp.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f534fd5

Please sign in to comment.