Skip to content

Commit fb32de4

Browse files
authoredMar 3, 2025··
Merge pull request #1966 from h-east/update-syntax
Update syntax.{txt,jax}
2 parents 36a1f4f + 3aca6bc commit fb32de4

File tree

2 files changed

+29
-23
lines changed

2 files changed

+29
-23
lines changed
 

‎doc/syntax.jax

+14-11
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim バージョン 9.1. Last change: 2025 Jan 20
1+
*syntax.txt* For Vim バージョン 9.1. Last change: 2025 Feb 25
22

33

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

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

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

22882284

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

5250+
:hi[ghlight][!] [default] link {from-group} {to-group}
5251+
:hi[ghlight][!] [default] link {from-group} NONE
5252+
|:hi-link| を参照。
5253+
52545254
通常、ハイライトグループは起動時に一度だけ追加される。そこでハイライトのデフォ
52555255
ルト値をセットする。その後、ハイライトコマンドを使うことによってデフォルトでな
52565256
い値に変えることができる。値 "NONE" を使うとその値をオフにしたりデフォルト値に
@@ -5640,7 +5640,7 @@ MatchParen カーソル下の文字、または直後の文字が括弧である
56405640
対応する括弧に使われる。|pi_paren.txt|
56415641
*hl-MessageWindow*
56425642
MessageWindow `:echowindow` で表示されるポップアップウィンドウにおけるメッ
5643-
セージ。定義されていないときは |hl-WarningMsg| が用いられる
5643+
セージ。デフォルトでは |hl-WarningMsg| にリンクされる
56445644
*hl-ModeMsg*
56455645
ModeMsg 'showmode' のメッセージ(例、"-- INSERT --")。
56465646
*hl-MsgArea*
@@ -5679,10 +5679,13 @@ PmenuMatchSel ポップアップメニュー: 選択されている項目内の
56795679
ト。|hl-PmenuSel| と組み合わせて適用される。
56805680
*hl-ComplMatchIns*
56815681
ComplMatchIns 現在挿入されている補完のマッチしたテキスト。
5682+
*hl-PopupSelected*
5683+
PopupSelected |popup_menu()| で作成されたポップアップウィンドウ。デフォルト
5684+
では |hl-PmenuSel| にリンクされる。
56825685
*hl-PopupNotification*
56835686
PopupNotification
5684-
|popup_notification()| で生成されたポップアップウィンドウ。
5685-
義されていないときは |hl-WarningMsg| が用いられる
5687+
|popup_notification()| で生成されたポップアップウィンドウ。
5688+
フォルトでは |hl-WarningMsg| にリンクされる
56865689
*hl-Question*
56875690
Question ヒットエンタープロンプト|hit-enter|とyes/noクエスチョン。
56885691
*hl-QuickFixLine*

‎en/syntax.txt

+15-12
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 9.1. Last change: 2025 Jan 20
1+
*syntax.txt* For Vim version 9.1. Last change: 2025 Feb 25
22

33

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

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

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

23542350

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

5431+
:hi[ghlight][!] [default] link {from-group} {to-group}
5432+
:hi[ghlight][!] [default] link {from-group} NONE
5433+
See |:hi-link|.
5434+
54355435
Normally a highlight group is added once when starting up. This sets the
54365436
default values for the highlighting. After that, you can use additional
54375437
highlight commands to change the arguments that you want to set to non-default
@@ -5831,8 +5831,8 @@ CursorLineSign Like SignColumn when 'cursorline' is set for the cursor line.
58315831
MatchParen Character under the cursor or just before it, if it
58325832
is a paired bracket, and its match. |pi_paren.txt|
58335833
*hl-MessageWindow*
5834-
MessageWindow Messages popup window used by `:echowindow`. If not defined
5835-
|hl-WarningMsg| is used.
5834+
MessageWindow Messages popup window used by `:echowindow`. Linked to
5835+
|hl-WarningMsg| by default.
58365836
*hl-ModeMsg*
58375837
ModeMsg 'showmode' message (e.g., "-- INSERT --").
58385838
*hl-MsgArea*
@@ -5872,10 +5872,13 @@ PmenuMatchSel Popup menu: Matched text in selected item. Applied in
58725872
combination with |hl-PmenuSel|.
58735873
*hl-ComplMatchIns*
58745874
ComplMatchIns Matched text of the currently inserted completion.
5875+
*hl-PopupSelected*
5876+
PopupSelected Popup window created with |popup_menu()|. Linked to
5877+
|hl-PmenuSel| by default.
58755878
*hl-PopupNotification*
58765879
PopupNotification
5877-
Popup window created with |popup_notification()|. If not
5878-
defined |hl-WarningMsg| is used.
5880+
Popup window created with |popup_notification()|. Linked to
5881+
|hl-WarningMsg| by default.
58795882
*hl-Question*
58805883
Question |hit-enter| prompt and yes/no questions.
58815884
*hl-QuickFixLine*

0 commit comments

Comments
 (0)
Please sign in to comment.