|
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 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -2343,13 +2343,9 @@ instead, and the name of your source file should be *.pike |
2343 | 2343 |
|
2344 | 2344 | LUA *lua.vim* *ft-lua-syntax* |
2345 | 2345 |
|
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|. |
2353 | 2349 |
|
2354 | 2350 |
|
2355 | 2351 | MAIL *mail.vim* *ft-mail.vim* |
@@ -5432,6 +5428,10 @@ in their own color. |
5432 | 5428 | See |:highlight-default| for the optional [default] |
5433 | 5429 | argument. |
5434 | 5430 |
|
| 5431 | +:hi[ghlight][!] [default] link {from-group} {to-group} |
| 5432 | +:hi[ghlight][!] [default] link {from-group} NONE |
| 5433 | + See |:hi-link|. |
| 5434 | + |
5435 | 5435 | Normally a highlight group is added once when starting up. This sets the |
5436 | 5436 | default values for the highlighting. After that, you can use additional |
5437 | 5437 | 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. |
5831 | 5831 | MatchParen Character under the cursor or just before it, if it |
5832 | 5832 | is a paired bracket, and its match. |pi_paren.txt| |
5833 | 5833 | *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. |
5836 | 5836 | *hl-ModeMsg* |
5837 | 5837 | ModeMsg 'showmode' message (e.g., "-- INSERT --"). |
5838 | 5838 | *hl-MsgArea* |
@@ -5872,10 +5872,13 @@ PmenuMatchSel Popup menu: Matched text in selected item. Applied in |
5872 | 5872 | combination with |hl-PmenuSel|. |
5873 | 5873 | *hl-ComplMatchIns* |
5874 | 5874 | 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. |
5875 | 5878 | *hl-PopupNotification* |
5876 | 5879 | 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. |
5879 | 5882 | *hl-Question* |
5880 | 5883 | Question |hit-enter| prompt and yes/no questions. |
5881 | 5884 | *hl-QuickFixLine* |
|
0 commit comments