Reputation: 10882
I need to switch off all highlighting in a text file.
This is what I have tried, to no avail:
:syntax off
:set nohlsearch
:set syntax=
:match
:set noshowmatch
:set t_Co=0
Output of some "debug" commands:
:set syntax --> shows "syntax="
:syntax --> No Syntax items defined for this buffer
set t_Co=0 keeps the highlights, just switches the whole screen to black and white.
Upvotes: 1
Views: 218
Reputation: 10882
I needed to disable spell-checking, which was enabled from a location I could not see where I was looking.
Upvotes: 1