Peng Tao schrieb:
> Hi,
>
> When I open the html file of this page
> http://vimcdoc.sourceforge.net/doc/usr_40.html
> (or the other vim Chinese docs on this site), it's very strange that
> vim (exactly only MacVim 7.2 and gVim 7.2) always auto set the
> filetype as 'help' instead of 'html'. does anyone have any idea why
> it's happening?
>
> Problem still occurs even though I delete all my own vim configuration
> files.
>
> thanks
Vim sees the modeline "vim:tw=78:ts=8:ft=help:norl:" within five lines
counting from the end of the file.
And this modeline causes setting the filetype to "help".
:h 'ml
:h 'mls
--
Andy
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---