Skip to content

Commit

Permalink
Merge pull request #1966 from h-east/update-syntax
Browse files Browse the repository at this point in the history
Update syntax.{txt,jax}
  • Loading branch information
h-east authored Mar 3, 2025
2 parents 36a1f4f + 3aca6bc commit fb32de4
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 23 deletions.
25 changes: 14 additions & 11 deletions 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: 2025 Jan 20
*syntax.txt* For Vim バージョン 9.1. Last change: 2025 Feb 25


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -2277,13 +2277,9 @@ uLPCはPike用に開発されている。なのでPike構文を代わりに使

LUA *lua.vim* *ft-lua-syntax*

Lua 構文ファイルはバージョン 4.0, 5.0, 5.1, 5.2 に対して使える (5.2 がデフォル
ト) グローバル変数 lua_version と lua_subversion を設定することでバージョンを
指定することができる。例えば、Lua 5.1 の構文ハイライトを有効にするには次のよう
に変数を設定する: >
:let lua_version = 5
:let lua_subversion = 1
Lua 構文ファイルはバージョン 4.0、5.0+ で使用できる。グローバル変数
|g:lua_version| および |g:lua_subversion| を使用して、これらのバージョンのいず
れかを選択できる。


MAIL *mail.vim* *ft-mail.vim*
Expand Down Expand Up @@ -5251,6 +5247,10 @@ https://github.com/vim/colorschemes/blob/master/legacy_colors/
オプショナルな引数[default]については
|:highlight-default|を参照。

:hi[ghlight][!] [default] link {from-group} {to-group}
:hi[ghlight][!] [default] link {from-group} NONE
|:hi-link| を参照。

通常、ハイライトグループは起動時に一度だけ追加される。そこでハイライトのデフォ
ルト値をセットする。その後、ハイライトコマンドを使うことによってデフォルトでな
い値に変えることができる。値 "NONE" を使うとその値をオフにしたりデフォルト値に
Expand Down Expand Up @@ -5640,7 +5640,7 @@ MatchParen カーソル下の文字、または直後の文字が括弧である
対応する括弧に使われる。|pi_paren.txt|
*hl-MessageWindow*
MessageWindow `:echowindow` で表示されるポップアップウィンドウにおけるメッ
セージ。定義されていないときは |hl-WarningMsg| が用いられる
セージ。デフォルトでは |hl-WarningMsg| にリンクされる
*hl-ModeMsg*
ModeMsg 'showmode' のメッセージ(例、"-- INSERT --")。
*hl-MsgArea*
Expand Down Expand Up @@ -5679,10 +5679,13 @@ PmenuMatchSel ポップアップメニュー: 選択されている項目内の
ト。|hl-PmenuSel| と組み合わせて適用される。
*hl-ComplMatchIns*
ComplMatchIns 現在挿入されている補完のマッチしたテキスト。
*hl-PopupSelected*
PopupSelected |popup_menu()| で作成されたポップアップウィンドウ。デフォルト
では |hl-PmenuSel| にリンクされる。
*hl-PopupNotification*
PopupNotification
|popup_notification()| で生成されたポップアップウィンドウ。
義されていないときは |hl-WarningMsg| が用いられる
|popup_notification()| で生成されたポップアップウィンドウ。
フォルトでは |hl-WarningMsg| にリンクされる
*hl-Question*
Question ヒットエンタープロンプト|hit-enter|とyes/noクエスチョン。
*hl-QuickFixLine*
Expand Down
27 changes: 15 additions & 12 deletions 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: 2025 Jan 20
*syntax.txt* For Vim version 9.1. Last change: 2025 Feb 25


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -2343,13 +2343,9 @@ instead, and the name of your source file should be *.pike

LUA *lua.vim* *ft-lua-syntax*

The Lua syntax file can be used for versions 4.0, 5.0, 5.1 and 5.2 (5.2 is
the default). You can select one of these versions using the global variables
lua_version and lua_subversion. For example, to activate Lua
5.1 syntax highlighting, set the variables like this: >
:let lua_version = 5
:let lua_subversion = 1
The Lua syntax file can be used for versions 4.0, 5.0+. You can select one of
these versions using the global variables |g:lua_version| and
|g:lua_subversion|.


MAIL *mail.vim* *ft-mail.vim*
Expand Down Expand Up @@ -5432,6 +5428,10 @@ in their own color.
See |:highlight-default| for the optional [default]
argument.

:hi[ghlight][!] [default] link {from-group} {to-group}
:hi[ghlight][!] [default] link {from-group} NONE
See |:hi-link|.

Normally a highlight group is added once when starting up. This sets the
default values for the highlighting. After that, you can use additional
highlight commands to change the arguments that you want to set to non-default
Expand Down Expand Up @@ -5831,8 +5831,8 @@ CursorLineSign Like SignColumn when 'cursorline' is set for the cursor line.
MatchParen Character under the cursor or just before it, if it
is a paired bracket, and its match. |pi_paren.txt|
*hl-MessageWindow*
MessageWindow Messages popup window used by `:echowindow`. If not defined
|hl-WarningMsg| is used.
MessageWindow Messages popup window used by `:echowindow`. Linked to
|hl-WarningMsg| by default.
*hl-ModeMsg*
ModeMsg 'showmode' message (e.g., "-- INSERT --").
*hl-MsgArea*
Expand Down Expand Up @@ -5872,10 +5872,13 @@ PmenuMatchSel Popup menu: Matched text in selected item. Applied in
combination with |hl-PmenuSel|.
*hl-ComplMatchIns*
ComplMatchIns Matched text of the currently inserted completion.
*hl-PopupSelected*
PopupSelected Popup window created with |popup_menu()|. Linked to
|hl-PmenuSel| by default.
*hl-PopupNotification*
PopupNotification
Popup window created with |popup_notification()|. If not
defined |hl-WarningMsg| is used.
Popup window created with |popup_notification()|. Linked to
|hl-WarningMsg| by default.
*hl-Question*
Question |hit-enter| prompt and yes/no questions.
*hl-QuickFixLine*
Expand Down

0 comments on commit fb32de4

Please sign in to comment.