【发布时间】:2014-02-24 11:17:20
【问题描述】:
我在 Emacs 中使用 web 模式,一切都很好,除了在 Rails 中编辑 .js.erb 文件时。
因为.js.erb 文件中只有 2 种模式:js 和 ruby,而 web-mode 只能识别 <scipt type="javascript"></scipt> 中的 javascipt 代码。
我对emacs和web-mode不是很熟悉,也许有办法配置。
【问题讨论】:
标签: emacs