Skip to content

Commit 088dbac

Browse files
authored
Merge pull request #2239 from h-east/update-syntax
Update syntax.{txt,jax}
2 parents 378674a + 500988e commit 088dbac

File tree

2 files changed

+24
-6
lines changed

2 files changed

+24
-6
lines changed

doc/syntax.jax

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim バージョン 9.1. Last change: 2025 Aug 07
1+
*syntax.txt* For Vim バージョン 9.1. Last change: 2025 Aug 10
22

33

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

16101610

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

@@ -1915,7 +1915,7 @@ HTMLファイルのタグ用の構文ファイルは以下のように動作す
19151915
:let html_my_rendering=1
19161916
19171917
この例については以下からmysyntax.vimをダウンロードすること。
1918-
http://www.fleiner.com/vim/download.html
1918+
https://www.fleiner.com/vim/download.html
19191919

19201920
次の行をvimrcに加えればこの描画を無効にできる: >
19211921
:let html_no_rendering=1
@@ -2172,6 +2172,15 @@ Javadoc コメント内のすべての開始タグとオプションの終了タ
21722172
また、他の修飾子とはグループとして異なる方法でハイライトできる >
21732173
:hi link javaConceptKind NonText
21742174
2175+
構文アイテム定義で使用される可変幅の後読みアサーション (|/\@<!| および |/\@<=|)
2176+
はすべて任意のバイト数に制限される。関連する定義グループでは、別の任意の値を選
2177+
択できる。
2178+
例: >
2179+
:let g:java_lookbehind_byte_counts = {'javaMarkdownCommentTitle': 240}
2180+
この辞書の各キー名は構文アイテム名である。構文アイテムおけるこれらのアサーショ
2181+
ンの使用法はリビジョンによって異なる場合があるため、サポートされるキー名の明確
2182+
なセットは定義されていない。
2183+
21752184
後方スクロール中に CTRL-L で再描画すると修正されるハイライトエラーが発生する
21762185
場合は、"g:java_minlines" 変数をより大きな数値に設定してみて欲しい: >
21772186
:let g:java_minlines = 50

en/syntax.txt

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 9.1. Last change: 2025 Aug 07
1+
*syntax.txt* For Vim version 9.1. Last change: 2025 Aug 10
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1637,7 +1637,7 @@ Elixir.
16371637
FLEXWIKI *flexwiki.vim* *ft-flexwiki-syntax*
16381638

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

@@ -1962,7 +1962,7 @@ are read during initialization) >
19621962
:let html_my_rendering=1
19631963
19641964
If you'd like to see an example download mysyntax.vim at
1965-
http://www.fleiner.com/vim/download.html
1965+
https://www.fleiner.com/vim/download.html
19661966

19671967
You can also disable this rendering by adding the following line to your
19681968
vimrc file: >
@@ -2231,6 +2231,15 @@ Certain modifiers are incompatible with each other, e.g. `abstract` and
22312231
and can be differently highlighted as a group than other modifiers with >
22322232
:hi link javaConceptKind NonText
22332233
2234+
All instances of variable-width lookbehind assertions (|/\@<!| and |/\@<=|),
2235+
resorted to in syntax item definitions, are confined to arbitrary byte counts.
2236+
Another arbitrary value can be selected for a related group of definitions.
2237+
For example: >
2238+
:let g:java_lookbehind_byte_counts = {'javaMarkdownCommentTitle': 240}
2239+
Where each key name of this dictionary is the name of a syntax item. The use
2240+
of these assertions in syntax items may vary among revisions, so no definitive
2241+
set of supported key names is committed to.
2242+
22342243
If you notice highlighting errors while scrolling backwards, which are fixed
22352244
when redrawing with CTRL-L, try setting the "g:java_minlines" variable to
22362245
a larger number: >

0 commit comments

Comments
 (0)