From dbfe2ea9d0602eaf7e5a7229ee4e18212306e1a5 Mon Sep 17 00:00:00 2001 From: h-east Date: Tue, 5 May 2026 00:41:25 +0900 Subject: [PATCH 1/2] Update syntax.{txt,jax} --- doc/syntax.jax | 52 +++++++++++++++++++++++++++++++++++++++----------- en/syntax.txt | 52 +++++++++++++++++++++++++++++++++++++++++--------- 2 files changed, 84 insertions(+), 20 deletions(-) diff --git a/doc/syntax.jax b/doc/syntax.jax index f1de83267..16416718e 100644 --- a/doc/syntax.jax +++ b/doc/syntax.jax @@ -1,4 +1,4 @@ -*syntax.txt* For Vim バージョン 9.2. Last change: 2026 Apr 14 +*syntax.txt* For Vim バージョン 9.2. Last change: 2026 Apr 30 VIM リファレンスマニュアル by Bram Moolenaar @@ -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の構文ハイライトが含まれて @@ -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* @@ -5910,8 +5936,12 @@ SpellRare スペルチェッカによってまず使わないと判断される これは他のハイライトと同時に組み合わせられる。 *hl-StatusLine* StatusLine カレントウィンドウのステータスライン。 + また、カレントウィンドウのステータスラインに隣接する垂直区切り + セルにも使用される。|hl-VertSplit| を参照。 *hl-StatusLineNC* StatusLineNC 非カレントウィンドウのステータスライン。 + また、非カレントウィンドウのステータスラインに隣接する垂直区切 + りセルにも使用される。|hl-VertSplitNC| を参照。 Note: これが "StatusLine" に等しい場合、カレントウィンドウのス テータスラインに "^^^" が使われる。 *hl-StatusLineTerm* @@ -5948,9 +5978,9 @@ TitleBarNC 非アクティブな GUI ウィンドウのタイトルバー。 *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* diff --git a/en/syntax.txt b/en/syntax.txt index 2102debf2..efebe5667 100644 --- a/en/syntax.txt +++ b/en/syntax.txt @@ -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 Apr 30 VIM REFERENCE MANUAL by Bram Moolenaar @@ -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 @@ -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* @@ -6102,8 +6131,12 @@ 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 a + 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* @@ -6141,7 +6174,8 @@ TitleBarNC Title bar for inactive Gui's window. 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* From 2d73c5c20bf6e5fbe9f829983fac83229ef1c802 Mon Sep 17 00:00:00 2001 From: h-east Date: Tue, 5 May 2026 18:36:41 +0900 Subject: [PATCH 2/2] Update by original --- doc/syntax.jax | 10 +++++----- en/syntax.txt | 31 +++++++++++++++---------------- 2 files changed, 20 insertions(+), 21 deletions(-) diff --git a/doc/syntax.jax b/doc/syntax.jax index 16416718e..81a899be3 100644 --- a/doc/syntax.jax +++ b/doc/syntax.jax @@ -1,4 +1,4 @@ -*syntax.txt* For Vim バージョン 9.2. Last change: 2026 Apr 30 +*syntax.txt* For Vim バージョン 9.2. Last change: 2026 May 04 VIM リファレンスマニュアル by Bram Moolenaar @@ -5947,8 +5947,8 @@ StatusLineNC 非カレントウィンドウのステータスライン。 *hl-StatusLineTerm* StatusLineTerm |terminal| ウィンドウのカレントウィンドウのステータスライン。 *hl-StatusLineTermNC* -StatusLineTermNC |terminal| ウィンドウの非カレントウィンドウのステータ - スライン。 +StatusLineTermNC + |terminal| ウィンドウの非カレントウィンドウのステータスライン。 *hl-TabLine* TabLine タブページの行の、アクティブでないタブページのラベル。 *hl-TabLineFill* @@ -5968,12 +5968,12 @@ 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 ビジュアルモード選択。 diff --git a/en/syntax.txt b/en/syntax.txt index efebe5667..677e7cc3e 100644 --- a/en/syntax.txt +++ b/en/syntax.txt @@ -1,4 +1,4 @@ -*syntax.txt* For Vim version 9.2. Last change: 2026 Apr 30 +*syntax.txt* For Vim version 9.2. Last change: 2026 May 04 VIM REFERENCE MANUAL by Bram Moolenaar @@ -6135,15 +6135,16 @@ StatusLine Status line of current window. current window's status line. see |hl-VertSplit|. *hl-StatusLineNC* StatusLineNC status lines of not-current windows. - Also used for the vertical separator cell adjacent to a + 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* @@ -6163,19 +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|, |xterm-clipboard| and |wayland-selections| - supports this. + Only X11 Gui's |gui-x11|, |xterm-clipboard| and + |wayland-selections| supports this. *hl-WarningMsg* WarningMsg Warning messages. *hl-WildMenu* @@ -6195,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 @@ -6209,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*