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

An option to link hlgroups

Open saidelmark opened this issue 2 years ago • 0 comments

This colorscheme allows to customize highlight groups, but only in terms of "set custom values for fg, bg or style". Would be cool if it would also add an option "link" to allow for configuration like this:

local monokai = require('monokai')
local palette = monokai.classic
local bg = '#181810'
monokai.setup {
    custom_hlgroups = {
        Normal = {
          bg = bg
        },
        NormalFloat = {
          link = 'Normal'
        },
    }
}

Is it doable?

saidelmark avatar Jan 24 '23 20:01 saidelmark