savq/melange-nvim

Add support for adding custom keyword to highlight group

omi-donlimit opened this issue · 1 comments

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

savq commented

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.