Vim 8'den beri bunun için EndOfBuffervurgulama grubu var; from :help hl-EndOfBuffer:
EndOfBuffer filler lines (~) after the last line in the buffer.
By default, this is highlighted like hl-NonText.
Daha önceki Vim sürümleri için NonText. Gönderen :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).
Ben de bilmiyordum. Bunu nasıl buldum:
- yazdım
:help 'highlight'
- Burada kısa bir açıklama ile vurgu "durumlar" ile bir liste olduğunu fark ettim.
- Tip
/\~aramak için ~karakteri
Ve :help colorschemeokudum:
: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.
Kullanımı :highlight clear NonTextbenim için işe yarıyor gibi görünüyor.
NonTextihtiyacım olan buydu. Snippet'in işe yaramadığını buldum, ancakhi NonText ctermbg=NONE@ Carpetsmoker'ın cevabına göre yaptım.