Hi guys. Sorry for bothering. I have a little question about syntax
for *.tex files

As I supposed I edited a file $VIMRUNTIME/syntax/tex.vim
with several lines such as:

hi Normal       guifg=green      guibg=#050505       gui=NONE

My intend is just setting syntax for gvim, not the original vim in
gnome-terminal. For vim in terminal,
it uses the tango theme from terminal itself.

But I found a strange phenomenon, although I set only guifg, guibg and
gui in tex.vim, the syntax
of vim changed as well, and it is significantly different from the
gvim syntax I defined in tex.vim. I tried
set t_Co=256, and this time the syntax in vim changed again, but still
different from its original syntax
in gnome-terminal.

So I am a little confused, how should I set syntax for gvim
independently, and leave vim unchanged?
I tried a file ~/.gvim/syntax/tex.vim but it regretfully has no
effect...

Thank you very much.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to