monokai.nvim icon indicating copy to clipboard operation
monokai.nvim copied to clipboard

Green function colors dissapeared

Open bkolligs opened this issue 2 years ago • 2 comments

image I was using this plugin and when I updated it last night, it appears that the green function colors dissapeared. Any ideas? In the above config file functions like setup and use used to be the typical monokai green.

Confirmed by going back to commit 45427b20f29ad1e7ce8bba3152428d6928ae8f09 and it is what it should be: image

bkolligs avatar Jan 21 '23 19:01 bkolligs

ditto, same is happening to me

sf8193 avatar Mar 16 '23 05:03 sf8193

define custom hl group to go back to green, I personally did this after encountering the update (not all of these were the defaults)

monokai.setup {
	custom_hlgroups = {
		["@function.call"] = { fg = palette.green, style = 'italic' },
		["@text.todo"]     = { fg = palette.orange, style = 'bold' },
		["@todo"]          = { fg = palette.orange, style = 'bold' },
		["@include"]       = { fg = palette.pink, style = 'italic' },
		["@define"]        = { fg = palette.pink, style = 'italic' },
		["@preproc"]       = { fg = palette.pink, style = 'bold' }
	}
}

yar-fed avatar Aug 20 '23 19:08 yar-fed