我正在使用Cobalt主题的MacVim。然而,我发现它非常好,来自Sublime Text,我觉得没有足够的不同颜色让我的javscript代码难以阅读。MacVim - 编辑颜色主题为javascript
例如,我想在函数名进行着色,使他们脱颖而出一点:
myClass.prototype.myFunction = function myFunction() {
// here, I'd like "myClass" to have a different color from the text
// same for "prototype" and "myFunction"
}
另一个例子是,使用方法:
myArray.pop();
// I'd like to change the color of ".pop()" for more visibility
如何我添加这些类型的模式?