5
是否可以使用js2模式作为JavaScript模式与nxhtml?是否有可能使用js2模式作为JavaScript模式与nxhtml?
是否可以使用js2模式作为JavaScript模式与nxhtml?是否有可能使用js2模式作为JavaScript模式与nxhtml?
不是根据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.
和g-d帮助你,如果你转换你的JavaScript成单行书签JS2模式中 - 语法加亮(或类似的东西)会杀了你的CPU。 Js2模式是非常特定于任务的。 – 2010-03-08 15:13:38
ps:js-mode现在在emacs23中,它可能是你想要的。 – Cheeso 2011-06-09 13:36:21