Background of unused lines is controlled/set by Highlight command
:help :hi
12. Highlight command *:highlight* *:hi* *E28* *E411* *E415*
There are three types of highlight groups:
- The ones used for specific languages. For these the name starts with the
name of the language. Many of these don't have any attributes, but are
linked to a group of the second type.
- The ones used for all syntax languages.
- The ones used for the 'highlight' option.
您可以使用此命令查看当前处于活动状态的所有组:
:so $VIMRUNTIME/syntax/hitest.vim
Highlighting groups for various occasions
-----------------------------------------
SpecialKey SpecialKey
NonText NonText
Directory Directory
~
Background of unused lines is controlled/set by
Highlight command
您可以使用此命令查看当前处于活动状态的所有组:
您可以如下设置未使用的行的颜色:
例:
Set to
:hi NonText ctermbg=NONE
for no color