Hello,

Vim presently associates *.phtml files with PHP/FI (a.k.a. PHP 2) syntax 
highlighting, although realistically I doubt anybody uses it[1][2]. 
Instead, the "php" filetype handles PHP versions 3 and above.

Increasingly, however, I believe the ".phtml" extension is used by PHP 
5-based web applications.  For example, apps based on the Zend Framework 
typically use it for the "view" part of front controller MVC.

I have the following suggestion:

   1. Remove syntax/phtml.vim.

   2. Change *.phtml association in filetype.vim to associate with php
      filetype instead.

   3. Amend synmenu.vim so there's only one PHP menu item, just called
      "PHP".  This might also be a good time to update "Cold Fusion" to
      "ColdFusion" (no space in name).

Many Thanks,

Dave

[1] It was released in 1995, the same time we were all being wowed by
     Netscape Navigator 1.1!  :o)  PHP 3 superseded it in 1997.
[2] 
http://www.nexen.net/chiffres_cles/phpversion/17377-php_statistics_for_july_2007.php#versions

-- 
                                 Save the whales.  Collect the whole set.

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

Raspunde prin e-mail lui