smoka7/hop.nvim

Not possible to set custom highlight colors

Closed this issue · 1 comments

Colors are overwritten by the plugin no matter what way I try to change them. I believe it's because of commit 90e078a
It is possible when using origin version of the plugin

smoka7 commented

you could overwrite it like this

vim.api.nvim_create_autocmd('ColorScheme', {
    callback = function()
    vim.api.nvim_set_hl(0, 'HopNextKey', { fg = '#00dfff', bold = true, ctermfg = 198, cterm = { bold = true } })
    end,
})