是否可以将js2-mode作为javascript模式使用nxhtml?
答案 0 :(得分:3)
不是根据js2-mode的作者。
来自the 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.