From 60dc0fc044cdfff8b1ff3c94fdeb8b81b41a68ae Mon Sep 17 00:00:00 2001 From: h-east Date: Sun, 10 Aug 2025 11:39:05 +0900 Subject: [PATCH 1/2] Update syntax.{txt,jax} --- doc/syntax.jax | 11 ++++++++++- en/syntax.txt | 11 ++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/doc/syntax.jax b/doc/syntax.jax index 1fa6d78ea..c2693008b 100644 --- a/doc/syntax.jax +++ b/doc/syntax.jax @@ -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 08 VIMリファレンスマニュアル by Bram Moolenaar @@ -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 diff --git a/en/syntax.txt b/en/syntax.txt index 968853970..321f94889 100644 --- a/en/syntax.txt +++ b/en/syntax.txt @@ -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 08 VIM REFERENCE MANUAL by Bram Moolenaar @@ -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 (|/\@ + :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: > From 500988e2774384cc48efce30f133d358cd345f19 Mon Sep 17 00:00:00 2001 From: h-east Date: Sun, 10 Aug 2025 21:04:39 +0900 Subject: [PATCH 2/2] Update by original (remove dead links) --- doc/syntax.jax | 6 +++--- en/syntax.txt | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/syntax.jax b/doc/syntax.jax index c2693008b..1a531a2b6 100644 --- a/doc/syntax.jax +++ b/doc/syntax.jax @@ -1,4 +1,4 @@ -*syntax.txt* For Vim バージョン 9.1. Last change: 2025 Aug 08 +*syntax.txt* For Vim バージョン 9.1. Last change: 2025 Aug 10 VIMリファレンスマニュアル by Bram Moolenaar @@ -1609,7 +1609,7 @@ FLEXWIKI *flexwiki.vim* *ft-flexwiki-syntax* FlexWiki は、ASP.NET ベースの wiki パッケージで、以前は -http://www.flexwiki.com で入手できた。 +www.flexwiki.com で入手できた。 NOTE: このサイトは現在機能していない。Wikipedia によると 2009 年に開発がストッ プした。 @@ -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 diff --git a/en/syntax.txt b/en/syntax.txt index 321f94889..9fe4be552 100644 --- a/en/syntax.txt +++ b/en/syntax.txt @@ -1,4 +1,4 @@ -*syntax.txt* For Vim version 9.1. Last change: 2025 Aug 08 +*syntax.txt* For Vim version 9.1. Last change: 2025 Aug 10 VIM REFERENCE MANUAL by Bram Moolenaar @@ -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. @@ -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: >