Tim Johnson wrote:
On Tuesday 05 June 2007, A.J.Mechelynck wrote:
In your second (badly highlighted) *.py file, what does Vim answer to

        :verbose set filetype?

 filetype=conf
        Last set from /usr/share/vim/vim70/filetype.vim
Hmm!
Thanks Tony
Tim



Hm. In the Vim 7.1 filetype.vim, filetype "conf" is set for any file, one of the first 5 lines of which starts with #, but only if everything else fails (and *.py is detected as type "python" before that...)

I wonder what causes your first *.py, but not the others, to be detected as python.


Best regards,
Tony.
--
"I have the world's largest collection of seashells.  I keep it
scattered around the beaches of the world ... Perhaps you've seen it.
                -- Steven Wright

Reply via email to