sb wrote:
> Tony,
>
> thanks - you've put me on the right track with filetype.
>
> If I open a new file: $ foobar.latex ... I get my colorscheme
>
> If I open a new file: $ foobar.tex ... I get another colorscheme
>
> so I'm guessing it's something in filetype.vim, but not much nearer a
> solution. The vim-man pages are good up to a point (ie where they run
> into my ignorance!)
>   

There's colorscheme and there's syntax highlighting involved here.  If 
you're truly having
colorscheme problems, what does

  :echo g:colors_name

show in each case?  If its syntax highlighting, then what does

  :echo &ft

show in each case?  Also, since the setting of a filetype is, well, a 
setting, you can use

  :verbose set ft?

to determine where the filetype was last set.  AFAIK there is no 
analogous way to determine
what set the colorscheme last.

Regards,
Chip Campbell


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

Reply via email to