Home Explore Blog CI



neovim

68th chunk of `runtime/doc/syntax.txt`
7959ba9b932a779656a49d00376b24c4cc013f8f4e4e609d0000000100000fa0
 in listings).
							*hl-DiffAdd*
DiffAdd		Diff mode: Added line. |diff.txt|
							*hl-DiffChange*
DiffChange	Diff mode: Changed line. |diff.txt|
							*hl-DiffDelete*
DiffDelete	Diff mode: Deleted line. |diff.txt|
							*hl-DiffText*
DiffText	Diff mode: Changed text within a changed line. |diff.txt|
							*hl-DiffTextAdd*
DiffTextAdd	Diff mode: Added text within a changed line.  Linked to
		|hl-DiffText| by default. |diff.txt|
							*hl-EndOfBuffer*
EndOfBuffer	Filler lines (~) after the last line in the buffer.
		By default, this is highlighted like |hl-NonText|.
							*hl-TermCursor*
TermCursor	Cursor in a focused terminal.
							*hl-ErrorMsg*
ErrorMsg	Error messages on the command line.
							*hl-StderrMsg*
StderrMsg	Messages in stderr from shell commands.
							*hl-StdoutMsg*
StdoutMsg	Messages in stdout from shell commands.
							*hl-WinSeparator*
WinSeparator	Separators between window splits.
							*hl-Folded*
Folded		Line used for closed folds.
							*hl-FoldColumn*
FoldColumn	'foldcolumn'
							*hl-SignColumn*
SignColumn	Column where |signs| are displayed.
							*hl-IncSearch*
IncSearch	'incsearch' highlighting; also used for the text replaced with
		":s///c".
							*hl-Substitute*
Substitute	|:substitute| replacement text highlighting.
							*hl-LineNr*
LineNr		Line number for ":number" and ":#" commands, and when 'number'
		or 'relativenumber' option is set.
							*hl-LineNrAbove*
LineNrAbove	Line number for when the 'relativenumber'
		option is set, above the cursor line.
							*hl-LineNrBelow*
LineNrBelow	Line number for when the 'relativenumber'
		option is set, below the cursor line.
							*hl-CursorLineNr*
CursorLineNr	Like LineNr when 'cursorline' is set and 'cursorlineopt'
		contains "number" or is "both", for the cursor line.
							*hl-CursorLineFold*
CursorLineFold	Like FoldColumn when 'cursorline' is set for the cursor line.
							*hl-CursorLineSign*
CursorLineSign	Like SignColumn when 'cursorline' is set for the cursor line.
							*hl-MatchParen*
MatchParen	Character under the cursor or just before it, if it
		is a paired bracket, and its match. |pi_paren.txt|
							*hl-ModeMsg*
ModeMsg		'showmode' message (e.g., "-- INSERT --").
							*hl-MsgArea*
MsgArea		Area for messages and command-line, see also 'cmdheight'.
							*hl-MsgSeparator*
MsgSeparator	Separator for scrolled messages |msgsep|.
							*hl-MoreMsg*
MoreMsg		|more-prompt|
							*hl-NonText*
NonText		'@' at the end of the window, characters from 'showbreak'
		and other characters that do not really exist in the text
		(e.g., ">" displayed when a double-wide character doesn't
		fit at the end of the line). See also |hl-EndOfBuffer|.
							*hl-Normal*
Normal		Normal text.
							*hl-NormalFloat*
NormalFloat	Normal text in floating windows.
							*hl-FloatBorder*
FloatBorder	Border of floating windows.
							*hl-FloatTitle*
FloatTitle	Title of floating windows.
							*hl-FloatFooter*
FloatFooter	Footer of floating windows.
							*hl-NormalNC*
NormalNC	Normal text in non-current windows.
							*hl-Pmenu*
Pmenu		Popup menu: Normal item.
							*hl-PmenuSel*
PmenuSel	Popup menu: Selected item. Combined with |hl-Pmenu|.
							*hl-PmenuKind*
PmenuKind	Popup menu: Normal item "kind".
							*hl-PmenuKindSel*
PmenuKindSel	Popup menu: Selected item "kind".
							*hl-PmenuExtra*
PmenuExtra	Popup menu: Normal item "extra text".
							*hl-PmenuExtraSel*
PmenuExtraSel	Popup menu: Selected item "extra text".
							*hl-PmenuSbar*
PmenuSbar	Popup menu: Scrollbar.
							*hl-PmenuThumb*
PmenuThumb	Popup menu: Thumb of the scrollbar.
							*hl-PmenuMatch*
PmenuMatch	Popup menu: Matched text in normal item. Combined with
		|hl-Pmenu|.
							*hl-PmenuMatchSel*
PmenuMatchSel	Popup menu: Matched text in selected item. Combined with
		|hl-PmenuMatch| and |hl-PmenuSel|.
							*hl-ComplMatchIns*
ComplMatchIns	Matched text of the currently inserted completion.
							*hl-Question*
Question	|hit-enter| prompt and yes/no questions.
		

Title: Vim Highlighting Groups: Diff, Folds, Search, Line Numbers, Popup Menus, and More
Summary
This section details a wide array of Vim's built-in highlighting groups, encompassing various aspects of the editor's interface and functionality. It includes groups for diff mode (DiffAdd, DiffChange, DiffDelete, DiffText), folded code (Folded, FoldColumn), search results (IncSearch, Substitute), line numbers (LineNr, CursorLineNr), and popup menus (Pmenu, PmenuSel, PmenuKind, etc.). Additionally, it covers highlighting for messages, non-text areas, normal text in different window states, and other elements like the sign column and match parentheses.