Dave Hodder wrote:
> 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 I don't know about the use of PHP in .phtml files. I thought they were always called *.php. Opinions? I don't delete an existing syntax file unless it is completely useless. -- hundred-and-one symptoms of being an internet addict: 91. It's Saturday afternoon in the middle of May and you are on computer. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
