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

grm*_*grm 5 javascript emacs

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

Che*_*eso 3

根据 js2-mode 的作者的说法,并非如此。

源头来看

;; 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.
Run Code Online (Sandbox Code Playgroud)