Wednesday, October 14, 2015

Expected "syntax disable" to work, to match "syntax enable"

Short version: On a shared account (for a buildbot setup), someone has a crazy
(imho) .vimrc setup with syntax coloring, etc. I wanted to turn off the coloring
and not just move the file out of the way.

Since I saw "syntax enable" in the .vimrc, I expect(ed) "syntax disable" to
work.. But it doesn't.

Looking through the online help, I found "syntax off".

I wish ":syntax disable" would work too, and there are probably other enable/off
things where having disable work too would be good..

So I guess this is an enhancement request for "disable" to work too, since it
is IMHO the logical thing to try. (Maybe "on" should work for "enable" too..)

No comments:

Post a Comment