Skip to content

Update syntax.{txt,jax} #2239

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions doc/syntax.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*syntax.txt* For Vim バージョン 9.1. Last change: 2025 Aug 07
*syntax.txt* For Vim バージョン 9.1. Last change: 2025 Aug 10


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -1609,7 +1609,7 @@ FLEXWIKI *flexwiki.vim* *ft-flexwiki-syntax*


FlexWiki は、ASP.NET ベースの wiki パッケージで、以前は
http://www.flexwiki.com で入手できた。
www.flexwiki.com で入手できた。
NOTE: このサイトは現在機能していない。Wikipedia によると 2009 年に開発がストッ
プした。

Expand Down Expand Up @@ -1915,7 +1915,7 @@ HTMLファイルのタグ用の構文ファイルは以下のように動作す
:let html_my_rendering=1

この例については以下からmysyntax.vimをダウンロードすること。
http://www.fleiner.com/vim/download.html
https://www.fleiner.com/vim/download.html

次の行をvimrcに加えればこの描画を無効にできる: >
:let html_no_rendering=1
Expand Down Expand Up @@ -2172,6 +2172,15 @@ Javadoc コメント内のすべての開始タグとオプションの終了タ
また、他の修飾子とはグループとして異なる方法でハイライトできる >
:hi link javaConceptKind NonText

構文アイテム定義で使用される可変幅の後読みアサーション (|/\@<!| および |/\@<=|)
はすべて任意のバイト数に制限される。関連する定義グループでは、別の任意の値を選
択できる。
例: >
:let g:java_lookbehind_byte_counts = {'javaMarkdownCommentTitle': 240}
この辞書の各キー名は構文アイテム名である。構文アイテムおけるこれらのアサーショ
ンの使用法はリビジョンによって異なる場合があるため、サポートされるキー名の明確
なセットは定義されていない。

後方スクロール中に CTRL-L で再描画すると修正されるハイライトエラーが発生する
場合は、"g:java_minlines" 変数をより大きな数値に設定してみて欲しい: >
:let g:java_minlines = 50
Expand Down
15 changes: 12 additions & 3 deletions en/syntax.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*syntax.txt* For Vim version 9.1. Last change: 2025 Aug 07
*syntax.txt* For Vim version 9.1. Last change: 2025 Aug 10


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -1637,7 +1637,7 @@ Elixir.
FLEXWIKI *flexwiki.vim* *ft-flexwiki-syntax*

FlexWiki is an ASP.NET-based wiki package which used to be available at
http://www.flexwiki.com
www.flexwiki.com
NOTE: This site currently doesn't work, on Wikipedia is mentioned that
development stopped in 2009.

Expand Down Expand Up @@ -1962,7 +1962,7 @@ are read during initialization) >
:let html_my_rendering=1

If you'd like to see an example download mysyntax.vim at
http://www.fleiner.com/vim/download.html
https://www.fleiner.com/vim/download.html

You can also disable this rendering by adding the following line to your
vimrc file: >
Expand Down Expand Up @@ -2231,6 +2231,15 @@ Certain modifiers are incompatible with each other, e.g. `abstract` and
and can be differently highlighted as a group than other modifiers with >
:hi link javaConceptKind NonText

All instances of variable-width lookbehind assertions (|/\@<!| and |/\@<=|),
resorted to in syntax item definitions, are confined to arbitrary byte counts.
Another arbitrary value can be selected for a related group of definitions.
For example: >
:let g:java_lookbehind_byte_counts = {'javaMarkdownCommentTitle': 240}
Where each key name of this dictionary is the name of a syntax item. The use
of these assertions in syntax items may vary among revisions, so no definitive
set of supported key names is committed to.

If you notice highlighting errors while scrolling backwards, which are fixed
when redrawing with CTRL-L, try setting the "g:java_minlines" variable to
a larger number: >
Expand Down