AlphaTechnolog / pywal.nvim

pywal.nvim is a reimplementation of pywal.vim to support a few lua plugins like nvim-tree, telescope, bufferline, etc
123 stars 27 forks source link

Highlight color of vim illuminate is same as the text color #11

Closed PhosCity closed 2 years ago

PhosCity commented 2 years ago

https://github.com/RRethy/vim-illuminate

The highlight color of vim illuminate is same color as the text causing it to be unreadable. Is there something that can be done to solve this?

mbpowers commented 2 years ago

Not sure if this is the proper way, but I go into ~/.local/share/nvim/site/pack/packer/start/pywal/lua/pywal/config.lua (might be somewhere else depending on package manager/lazy loading) and change/add values in the table. For example I have,

M.highlights_base = function (colors)
  return {
    -- other highlights ...

    illuminatedWord = { guifg = colors.color6 },
    illuminatedCurWord = { guifg = colors.color6 },

    -- more highlights ...
  }
end

colors.color0 through colors.color15 should be your pywal colors.

PhosCity commented 2 years ago

Awesome, thanks! That does solve my problem.