savq / melange-nvim

🗡️ Warm color scheme for Neovim and beyond
MIT License
719 stars 55 forks source link

Add support for adding custom keyword to highlight group #42

Closed omi-donlimit closed 1 year ago

omi-donlimit commented 2 years ago

for example i want to add self keyword to highlight groups same with the function keyword

savq commented 1 year ago

If you want to add highlighting for certain keywords you have to use the :syntax API. See also :help usr_44.txt. This is usually done by filetype plugins, not colorschemes themselves.

Sorry for not answering this sooner.