Robottinosino
Robottinosino

Reputation: 10882

Disable _all_ colour highlights in Vim

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

Answers (1)

Robottinosino
Robottinosino

Reputation: 10882

I needed to disable spell-checking, which was enabled from a location I could not see where I was looking.

Upvotes: 1

Related Questions