Оскільки Vim 8 є EndOfBufferнайголовнішою групою для цього; від :help hl-EndOfBuffer:
EndOfBuffer filler lines (~) after the last line in the buffer.
By default, this is highlighted like hl-NonText.
Для більш ранніх версій Vim - це NonText. Від :help hl-NonText:
NonText '~' and '@' 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).
Я теж цього не знав. Як я це знайшов:
- Я набрав
:help 'highlight'
- Я помітив, що тут є список із основними "подіями" з коротким описом.
- Введіть
/\~для пошуку ~персонажа
І :help colorschemeя читав:
:hi[ghlight] clear {group-name}
:hi[ghlight] {group-name} NONE
Disable the highlighting for one highlight group. It
is _not_ set back to the default colors.
Використання, :highlight clear NonTextздається, працює для мене.
NonTextбуло те, що мені було потрібно. Я виявив, що фрагмент не працює, хочhi NonText ctermbg=NONEі відповідав на відповідь @ Carpetsmoker.