Skip to content

Commit 30f8bb1

Browse files
authored
Merge pull request #1691 from vim-jp/hh-update-syntax
Update syntax.{txt,jax}
2 parents d9ce542 + 67d5e1a commit 30f8bb1

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

doc/syntax.jax

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim バージョン 9.1. Last change: 2024 Aug 31
1+
*syntax.txt* For Vim バージョン 9.1. Last change: 2024 Sep 11
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -2090,6 +2090,11 @@ Note これら 3 つの変数は HTML 構文ファイルで維持されること
20902090
あるいは >
20912091
:hi javaParen ctermfg=blue guifg=#0000ff
20922092
2093+
特定の修飾子は互いに相容れられない。例: `abstract``final`: >
2094+
:syn list javaConceptKind
2095+
また、他の修飾子とはグループとして異なる方法でハイライトできる >
2096+
:hi link javaConceptKind NonText
2097+
20932098
後方スクロール中に CTRL-L で再描画すると修正されるハイライトエラーが発生する
20942099
場合は、"g:java_minlines" 変数をより大きな数値に設定してみて欲しい: >
20952100
:let g:java_minlines = 50

en/syntax.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 9.1. Last change: 2024 Aug 31
1+
*syntax.txt* For Vim version 9.1. Last change: 2024 Sep 11
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2155,6 +2155,12 @@ In order to highlight nested parens with different colors, define colors for
21552155
or >
21562156
:hi javaParen ctermfg=blue guifg=#0000ff
21572157
2158+
Certain modifiers are incompatible with each other, e.g. `abstract` and
2159+
`final`: >
2160+
:syn list javaConceptKind
2161+
and can be differently highlighted as a group than other modifiers with >
2162+
:hi link javaConceptKind NonText
2163+
21582164
If you notice highlighting errors while scrolling backwards, which are fixed
21592165
when redrawing with CTRL-L, try setting the "g:java_minlines" variable to
21602166
a larger number: >

0 commit comments

Comments
 (0)