Chip,
thanks for your helpful diagnostic tips.
I'll note :echo g:colors_name and :echo &ft -- I feel like I've
scoured the interweb looking for the first command : )
I was getting a "plaintex" filetype for *.tex files.
However, what I've done (and will quite probably regret) is to edit ../
share/vim/vim72/filetype.vim:
in my file, line 1973 as starred below (not in the original) and
commented
...
func! s:FTtex()
let firstline = getline(1)
if firstline =~ '^%&\s*\a\+'
let format = tolower(matchstr(firstline, '\a\+'))
let format = substitute(format, 'pdf', '', '')
if format == 'tex'
* let format = 'tex' "was 'plain' *
endif
...
and line 2006,
...
" Translation from formats to file types. TODO: add AMSTeX,
RevTex, others?
if format == 'plain'
* setf tex "was: plaintex
which seems to do the job ... for now.
pre-ps: apologies for having to mail separately from home (rhubarb)
and work (sb)
All the very best,
Steve
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---