ayu-theme / ayu-vim

Modern theme for modern VIMs
Apache License 2.0
1.69k stars 187 forks source link

How can I only change comment color? #79

Open LvChengbin opened 1 year ago

LvChengbin commented 1 year ago

I want to make comment color with more bright, what config items do I need to add in .vimrc file?

matass commented 1 year ago
highlight Comment guifg=#ffffff
Luxed commented 1 year ago

I want to make comment color with more bright, what config items do I need to add in .vimrc file?

You can look at :h :highlight (also found here) for information on how to change highlight group colors. Then, there is also a small explanation on how to have an automatic setup that will only the ayu theme on my maintained fork. Although I only explain how to use my function to modify the colors, you can also use the :highlight command in there. The most important thing to remember is that this modification needs to be done after you have loaded your colorscheme with colorscheme ayu.