On 2015-10-14, Matt Ackeret wrote:
> 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..)

There is a ":syntax on" command as well as ":syntax enable", but
they do slightly different things.  See

    :help usr_06
    :help :syntax-on
    :help syntax-loading

HTH,
Gary

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to