Skip to content
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
60 changes: 45 additions & 15 deletions doc/syntax.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*syntax.txt* For Vim バージョン 9.2. Last change: 2026 Apr 14
*syntax.txt* For Vim バージョン 9.2. Last change: 2026 May 04


VIM リファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -826,6 +826,19 @@ ADA
|ft-ada-syntax|を参照。


ALGOL 68 *algol68* *ft-algol68-syntax*

この構文ファイルは現在、デフォルトの UPPER ストロッピング方式を使用する Algol
68 Genie プロジェクトを対象としている。UPPER ストロッピング方式を使用する他の
環境でも使用できるはずだが、機能がやや劣る。

ハイライトは、以下の変数を使用してさらに設定できる。

変数 ハイライト ~
*algol68_no_preludes* 前置識別子、手続き、太字演算子はハイライトしない
*algol68_symbolic_operators* すべての前置記号演算子


ANT *ant.vim* *ft-ant-syntax*

ANTの構文ファイルにはデフォルトでJavaScriptとPythonの構文ハイライトが含まれて
Expand Down Expand Up @@ -5786,14 +5799,27 @@ EndOfBuffer バッファ中で最終行以降の領域を埋めるための行 (
*hl-ErrorMsg*
ErrorMsg コマンドラインに現れるエラーメッセージ。
*hl-VertSplit*
VertSplit カレントウィンドウに隣接する、垂直に分割されたウィンドウを区切
る桁。カレントウィンドウのステータスラインの行では、区切りセル
は |hl-StatusLine| ハイライト付きのスペースとして描画されるた
め、不要な塗りつぶし文字グリフが表示されずにステータスラインに
溶け込む。
VertSplit カレントウィンドウに隣接する垂直に分割されたウィンドウを区切る
桁。各画面行のセル文字とハイライト表示は、区切り線の両側のその
行の内容によって決まる:
- カレントウィンドウのステータスラインの行では、セルは
|hl-StatusLine| ハイライト付きの空白として描画されるため、視
覚的にカレントウィンドウのステータスラインに溶け込む。
- その他の行 (カレントウィンドウではなく、隣接する非カレント
ウィンドウのステータスライン行を含む) では、セルは
'fillchars' の "vert" 項目と VertSplit ハイライトで描画され
る。
*hl-VertSplitNC*
VertSplitNC 非カレントウィンドウの垂直分割ウィンドウを区切る桁。デフォルト
では、|hl-VertSplit| のようにハイライトされる。
VertSplitNC 縦方向に分割されたウィンドウを区切る桁。隣接するウィンドウはど
ちらもカレントウィンドウではない。各画面行のセル文字とハイライ
ト表示は、区切り線の両側のその行の内容によって変化する。
- 隣接する (非カレント) ウィンドウのステータスラインの行では、
セルはそのウィンドウの |hl-StatusLineNC| ハイライト付きの空
白として描画されるため、視覚的にそのウィンドウのステータスラ
インに溶け込む:
- その他の行では、セルは 'fillchars' の "vert" 項目と
VertSplitNC ハイライトで描画される。
デフォルトでは、|hl-VertSplit| のようにハイライトされる。
*hl-Folded*
Folded 閉じた折り畳みの行。
*hl-FoldColumn*
Expand Down Expand Up @@ -5910,15 +5936,19 @@ SpellRare スペルチェッカによってまず使わないと判断される
これは他のハイライトと同時に組み合わせられる。
*hl-StatusLine*
StatusLine カレントウィンドウのステータスライン。
また、カレントウィンドウのステータスラインに隣接する垂直区切り
セルにも使用される。|hl-VertSplit| を参照。
*hl-StatusLineNC*
StatusLineNC 非カレントウィンドウのステータスライン。
また、非カレントウィンドウのステータスラインに隣接する垂直区切
りセルにも使用される。|hl-VertSplitNC| を参照。
Note: これが "StatusLine" に等しい場合、カレントウィンドウのス
テータスラインに "^^^" が使われる。
*hl-StatusLineTerm*
StatusLineTerm |terminal| ウィンドウのカレントウィンドウのステータスライン。
*hl-StatusLineTermNC*
StatusLineTermNC |terminal| ウィンドウの非カレントウィンドウのステータ
スライン
StatusLineTermNC
|terminal| ウィンドウの非カレントウィンドウのステータスライン
*hl-TabLine*
TabLine タブページの行の、アクティブでないタブページのラベル。
*hl-TabLineFill*
Expand All @@ -5938,19 +5968,19 @@ Title ":set all"、":autocmd" などによる出力のタイトル。
*hl-TitleBar*
TitleBar アクティブな GUI ウィンドウのタイトルバー。
この機能は、MS-Windows GUI でのみサポートされる。
詳細は |gui-w32-title-bar| を参照
詳細は |gui-w32-title-bar| を参照
`guibg` および `guifg` のハイライト引数のみ効果がある。
*hl-TitleBarNC*
TitleBarNC 非アクティブな GUI ウィンドウのタイトルバー。
この機能は、MS-Windows GUI でのみサポートされる。
詳細は |gui-w32-title-bar| を参照
詳細は |gui-w32-title-bar| を参照
`guibg` および `guifg` のハイライト引数のみ効果がある。
*hl-Visual*
Visual ビジュアルモード選択。
*hl-VisualNOS*
VisualNOS vimが "Not Owning the Selection" のときのビジュアルモード選択
これをサポートしているのはX11 GUI|gui-x11||xterm-clipboard|
のみ
VisualNOS vim が「選択範囲を所有していない」場合のビジュアルモード選択
X11 GUI|gui-x11||xterm-clipboard|、|wayland-selections|
のみがこれをサポートしている
*hl-WarningMsg*
WarningMsg 警告メッセージ。
*hl-WildMenu*
Expand Down
75 changes: 54 additions & 21 deletions en/syntax.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*syntax.txt* For Vim version 9.2. Last change: 2026 Apr 14
*syntax.txt* For Vim version 9.2. Last change: 2026 May 04


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -849,6 +849,20 @@ ADA
See |ft-ada-syntax|


ALGOL 68 *algol68* *ft-algol68-syntax*

This syntax file currently targets the Algol 68 Genie project using the
default UPPER stropping regime. It should also be usuable in other
environments using the UPPER stropping regime, though somewhat less complete.

Highlighting can be further configured with the following variables.

Variable Highlight ~
*algol68_no_preludes* no prelude identifiers, procedures or
bold word operators
*algol68_symbolic_operators* all prelude symbolic operators


ANT *ant.vim* *ft-ant-syntax*

The ant syntax file provides syntax highlighting for javascript and python
Expand Down Expand Up @@ -5979,13 +5993,28 @@ EndOfBuffer Filler lines (~) after the last line in the buffer.
ErrorMsg Error messages on the command line.
*hl-VertSplit*
VertSplit Column separating vertically split windows that are adjacent
to the current window. On the current window's status line
rows, the separator cell is drawn as a space with the
|hl-StatusLine| highlight so it blends into the status line
without a stray fillchar glyph.
to the current window. The cell character and highlight at
each screen row depend on what is at that row on both sides
of the separator:
- On a status line row of the current window: the cell is
drawn as a space with the |hl-StatusLine| highlight, so it
visually merges into the current window's status line.
- On any other row (including a row that is a status line
row of the adjacent non-current window but not of the
current window): the cell is drawn with the "vert" item of
'fillchars' and the VertSplit highlight.
*hl-VertSplitNC*
VertSplitNC Column separating vertically split windows of non-current
windows. By default, highlighted like |hl-VertSplit|.
VertSplitNC Column separating vertically split windows where neither
adjacent window is the current window. The cell character
and highlight at each screen row depend on what is at that
row on both sides of the separator:
- On a status line row of either adjacent (non-current)
window: the cell is drawn as a space with the
|hl-StatusLineNC| highlight of that window, so it visually
merges into that window's status line.
- On any other row: the cell is drawn with the "vert" item
of 'fillchars' and the VertSplitNC highlight.
By default, highlighted like |hl-VertSplit|.
*hl-Folded*
Folded Line used for closed folds.
*hl-FoldColumn*
Expand Down Expand Up @@ -6102,15 +6131,20 @@ SpellRare Word that is recognized by the spellchecker as one that is
This will be combined with the highlighting used otherwise.
*hl-StatusLine*
StatusLine Status line of current window.
Also used for the vertical separator cell adjacent to the
current window's status line. see |hl-VertSplit|.
*hl-StatusLineNC*
StatusLineNC status lines of not-current windows
StatusLineNC status lines of not-current windows.
Also used for the vertical separator cell adjacent to the
non-current window's status line. see |hl-VertSplitNC|.
Note: If this is equal to "StatusLine", Vim will use "^^^" in
the status line of the current window.
*hl-StatusLineTerm*
StatusLineTerm Status line of current window, if it is a |terminal| window.
*hl-StatusLineTermNC*
StatusLineTermNC Status lines of not-current windows that is a
|terminal| window.
StatusLineTermNC
Status lines of not-current windows that is a |terminal|
window.
*hl-TabLine*
TabLine Tab pages line, not active tab page label.
*hl-TabLineFill*
Expand All @@ -6130,18 +6164,19 @@ Title Titles for output from ":set all", ":autocmd" etc.
*hl-TitleBar*
TitleBar Title bar for the active Gui's window.
This feature is supported only in the MS-Windows GUI.
See |gui-w32-title-bar| for details
See |gui-w32-title-bar| for details.
Only the `guibg` and `guifg` highlight arguments are effective.
*hl-TitleBarNC*
TitleBarNC Title bar for inactive Gui's window.
This feature is supported only in the MS-Windows GUI.
See |gui-w32-title-bar| for details
See |gui-w32-title-bar| for details.
Only the `guibg` and `guifg` highlight arguments are effective.
*hl-Visual*
Visual Visual mode selection.
*hl-VisualNOS*
VisualNOS Visual mode selection when vim is "Not Owning the Selection".
Only X11 Gui's |gui-x11| and |xterm-clipboard| supports this.
Only X11 Gui's |gui-x11|, |xterm-clipboard| and
|wayland-selections| supports this.
*hl-WarningMsg*
WarningMsg Warning messages.
*hl-WildMenu*
Expand All @@ -6161,10 +6196,9 @@ Menu Current font, background and foreground colors of the menus.
Also used for the toolbar.
Applicable highlight arguments: font, guibg, guifg.

NOTE: For Motif the font argument actually
specifies a fontset at all times, no matter if 'guifontset' is
empty, and as such it is tied to the current |:language| when
set.
NOTE: For Motif the font argument actually specifies a fontset
at all times, no matter if 'guifontset' is empty, and as such
it is tied to the current |:language| when set.

*hl-Scrollbar*
Scrollbar Current background and foreground of the main window's
Expand All @@ -6175,10 +6209,9 @@ Scrollbar Current background and foreground of the main window's
Tooltip Current font, background and foreground of the tooltips.
Applicable highlight arguments: font, guibg, guifg.

NOTE: For Motif the font argument actually
specifies a fontset at all times, no matter if 'guifontset' is
empty, and as such it is tied to the current |:language| when
set.
NOTE: For Motif the font argument actually specifies a fontset
at all times, no matter if 'guifontset' is empty, and as such
it is tied to the current |:language| when set.

==============================================================================
15. Linking groups *:hi-link* *:highlight-link* *E412* *E413*
Expand Down