Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在我的 haml %script 标记中添加了一些 javascript 代码。但我注意到语法突出显示不适用于标记内的 javascript 代码。有什么好的插件可以解决这个问题吗?顺便说一句,我使用 mac vim。谢谢!
试试:set ft=haml.javascript。
:set ft=haml.javascript