yoya / js2-mode

Automatically exported from code.google.com/p/js2-mode
0 stars 0 forks source link

support html-mode, mmm-mode and mumamo #49

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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.

Original issue reported on code.google.com by steve.ye...@gmail.com on 19 Apr 2008 at 9:30

GoogleCodeExporter commented 8 years ago
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?

Original comment by jca...@gmail.com on 21 Nov 2008 at 1:34

GoogleCodeExporter commented 8 years ago
Steve - any chance this bug is going to get fixed? 

Original comment by praki.pr...@gmail.com on 14 Feb 2010 at 1:34