Skip to content

Commit

Permalink
Merge pull request #1691 from vim-jp/hh-update-syntax
Browse files Browse the repository at this point in the history
Update syntax.{txt,jax}
  • Loading branch information
h-east authored Sep 16, 2024
2 parents d9ce542 + 67d5e1a commit 30f8bb1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
7 changes: 6 additions & 1 deletion 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: 2024 Aug 31
*syntax.txt* For Vim バージョン 9.1. Last change: 2024 Sep 11


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -2090,6 +2090,11 @@ Note これら 3 つの変数は HTML 構文ファイルで維持されること
あるいは >
:hi javaParen ctermfg=blue guifg=#0000ff
特定の修飾子は互いに相容れられない。例: `abstract``final`: >
:syn list javaConceptKind
また、他の修飾子とはグループとして異なる方法でハイライトできる >
:hi link javaConceptKind NonText
後方スクロール中に CTRL-L で再描画すると修正されるハイライトエラーが発生する
場合は、"g:java_minlines" 変数をより大きな数値に設定してみて欲しい: >
:let g:java_minlines = 50
Expand Down
8 changes: 7 additions & 1 deletion 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: 2024 Aug 31
*syntax.txt* For Vim version 9.1. Last change: 2024 Sep 11


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -2155,6 +2155,12 @@ In order to highlight nested parens with different colors, define colors for
or >
:hi javaParen ctermfg=blue guifg=#0000ff
Certain modifiers are incompatible with each other, e.g. `abstract` and
`final`: >
:syn list javaConceptKind
and can be differently highlighted as a group than other modifiers with >
:hi link javaConceptKind NonText
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

0 comments on commit 30f8bb1

Please sign in to comment.