carlhuda/janus — Issue #411: Better support for HTML syntax inside of PHP files
Author: jackfranklin
Created: 2012-03-01 22:27:20+00:00
State: open

As part of my day job I have to do a lot of editing of HTML inside of .php files (CodeIgniter views, WordPress, etc) and it's a pain to do this in Vim by default, usually I change syntax with `:set ft=html` and similarly for PHP when I need to, but this gets a bit dull. One of the people I work with, who uses Vim but without Janus, uses this plugin: http://www.vim.org/scripts/script.php?script_id=604 to fix this for him and it looks to do a good job.

I've put that file into `~/.janus` but it wasn't being loaded, so I tried putting it into `~/.janus/indent` and that seems to have done the trick - I'm just wondering if something like this is worth including by default in the regular Janus build? I imagine it's a common issue, especially amongst people who work a lot with PHP frameworks or CMS' like CodeIgniter or WordPress.