On Mon, Aug 31, 2015 at 9:06 PM, Louis-David Mitterrand <
[email protected]> wrote:

> Hi,
>
> Using debian/testing I've long had this in my ~/.vimrc
>
>         au!
>         if has("syntax")
>                 let mysyntaxfile = "~/.vim/syntax.vim"
>                 let myscriptsfile = "~/.vim/scripts.vim"
>                 let myfiletypefile = "~/.vim/filetype.vim"
>                 syntax on
>         endif
>
> and ~/.vim/syntax.vim contains only:
>
>         hi Comment term=bold ctermfg=6 guifg=DarkCyan
>         hi Identifier term=underline ctermfg=4 guifg=Blue
>
> Now this highlighting no longer works with debian's 2:7.4.826-1 but
> works with 2:7.4.488-7 (826 and 488 being the patchlevels).
>
> Any idea if this is a bug or a configuration change?
>

Maybe it is caused by t_RV or t_RB feature.
Try adding the following settings to your vimrc for workaround.

  :set t_RV= t_RB=
    or
  :set t_Co=256 background=dark    " set your terminal value explicitly

At startup, Vim inquires of terminal number of colors and background color.
When Vim received the response, Vim sets 't_Co' and 'background'.  Then Vim
re-load syntax/{g:colors_name}.vim or syntax/syncolor.vim.  But Vim doesn't
re-load mysyntaxfile.

I'm not sure if this is bug or not.

-- 
Yukihiro Nakadaira - [email protected]

-- 
-- 
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