我正在使用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
如何我添加這些類型的模式?