On Tue, Jul 26, 2016 at 5:17 PM, Bram Moolenaar <b...@moolenaar.net> wrote:

>
>
> " Switch syntax highlighting on when the terminal has colors or when using
> the
> " GUI (which always has colors).
> if &t_Co > 2 || has("gui_running")
>   syntax on
>

Wait a sec.  If "syntax on" is done here, then won't it be impossible to
use "set guioptions+=M" in the user's .vimrc and have it work?  The docs
say that in order for that to work, it must be done "before switching on
syntax or filetype recognition".  But if syntax is turned on here, by the
time the  "set go+=M" in his .vimrc is encountered it will be too late,
right?

-Manny

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui