Is it possible to not display a ~ for blank lines in Vim/Neovim?

Ecco picture Ecco · Sep 28, 2010 · Viewed 15.7k times · Source

Is it possible to not display a ~ for blank lines in Vim?

This confuses Mac Vim's scrollbar, and I quite don't like these tildes.

Answer

pullo picture pullo · Feb 23, 2012

:hi NonText guifg=bg

That command should set the color of non text characters to be the same as the background color.