是否可以使用js2-mode作为jx模式与nxhtml?

时间:2010-03-05 22:13:21

标签: javascript emacs

是否可以将js2-mode作为javascript模式使用nxhtml?

1 个答案:

答案 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.