回答:
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。から:he highlight-groups:
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).
次のコマンドを使用して、残りの領域と同じ色に設定できます。
:hi NonText ctermfg=NONE
:highlight clear NonTextうまくいきました(vimから)-"NonText"を知っていても、カラースキームを簡単に編集することができました。
ctermbgがありctermfgました。
fgテキストに適用されます。
NonText私が必要としたものでした。hi NonText ctermbg=NONE@Carpetsmokerの回答のとおり、スニペットは機能しませんでした。