My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 49: support html-mode, mmm-mode and mumamo
8 people starred this issue and may be notified of changes. Back to list
Status:  Accepted
Owner:  steve.yegge
Type-Enhancement
Priority-High


Sign in to add a comment
 
Reported by steve.yegge, Apr 19, 2008
It should be possible to instruct the js2-mode scanner to treat HTML (or
XML) regions between <script> tags and on* attributes as whitespace or
comments.

mmm-mode is tricky because it invokes your mode once for each sub-region,
but js2-mode really needs to treat the buffer as one big scope.  Should be
easier once the skip-html stuff is added to the scanner.

have to look at mumamo as well.
Comment 1 by jcalas, Nov 21, 2008
What's the state of this petition? Is it possible to now to add support for other
major modes? I'd like to use js2-mode to edit js.erb files. Can this be achieved
using current js2-mode?


Sign in to add a comment

Hosted by Google Code