Is it possible to use js2 mode as javascript mode with nxhtml?

Is it possible to use js2 mode as javascript mode with nxhtml?

+5
source share
1 answer

Does not match the js2 mode author.

From source :

;; This mode does not yet work with "multi-mode" modes such as mmm-mode
;; and mumamo, although it could possibly be made to do so with some effort.
;; This means that js2-mode is currently only useful for editing JavaScript
;; files, and not for editing JavaScript within <script> tags or templates.
+3
source

All Articles