Hi,

Bram informed me about the discussion, if the phtml.vim syntax file
should/could be removed and ask me, being the maintainer, about my
opinion.

Dave wrote:

> Vim presently has one syntax file for PHP 3 and up, and a separate one
> for PHP 2.  This separation feels odd to me, the effect is that opening
> a PHP 5 ".phtml" file gives you partial highlighting.  I would suggest a
> filetype.vim change from:
>
>      " Php, php3, php4, etc.
>      au BufNewFile,BufRead *.php,*.php\d              setf php
>
>      " Phtml
>      au BufNewFile,BufRead *.phtml                    setf phtml
>
> ... to:
>
>
>     " Php, php3, php4, etc.
>     au BufNewFile,BufRead *.php,*.phtml,*.php\d               setf php

I think it's ok removing the phtml.vim syntax file. There shoud be no
need
for merging anything from the phtml to php sytax file.

The default extension (e.g. phtm, php or ..) should be a matter of
taste,
i would prefer keeping the file named php.vim

mfg

lutz


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

Raspunde prin e-mail lui