Peretz
Peretz

Reputation: 1126

In VIM, tabs and spaces are highlighted at the beginning of each line, how can I get rid of this?

I have tried using the :noh to get rid off the highlighting before the beginning of each line. But this highlighting seems to be different than the usual search one.

Any ideas how can I disable this feature?

Upvotes: 0

Views: 483

Answers (2)

Peretz
Peretz

Reputation: 1126

My .vimrc had the line below:

highlight Tabs ctermbg=1
match Tabs "\t"

This was highlighting the initial Tab characters in my source.

Upvotes: 3

Marco
Marco

Reputation: 879

Did you, by any chance, set the list option? Try to deactivate it by setting:

set nolist

Upvotes: 1

Related Questions