On Tue, Oct 14, 2008 at 9:48 AM, 703designs <[EMAIL PROTECTED]> wrote: > > CSS, JavaScript, and HTML all auto-indent in an HTML file, so I'm > assuming that the HTML indent rules are specialized for this. How can > I make PHP abide by these rules when outside of a <?php ?> code block > (which I know it already detects)? > > Here's why: Whenever I'm doing HTML, CSS, or JS editing around a PHP > file, I have to set the filetype to XHTML, and back and forth > depending on which syntax I'm editing. This is tedious.
Thomas Koch had some old posts indicating he was going to setup Vim as an IDE for PHP and post back with how it went. I haven't seen him post back, but looking at his old post me mentioned his blog: http://www.koch.ro/blog/ Amoung other Vim related items, there is a presentation on doing this: Presentation Draft: VIM as your PHP IDE Or directly: http://www.koch.ro/blog/index.php?/archives/89-Presentation-Draft-VIM-as-your-PHP-IDE.html I *very* briefly stepped through the PDF slide show, but it didn't have the details or the settings to turn everything on. I would like the PHP tag completion and proper indenting. Those are my 2 wants. Anyway, hopefully Thomas can share any *very specific* details he may have learned while he went through this exercise. Dave --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
