Closed kovasap closed 3 months ago
That is not a minimal config, your colorscheme is likely the issue.
Yes I realize that - by filing this issue I was hoping to learn more about what illuminate requires from a color scheme to work. That would help me figure out what I would need to change with my color scheme. Are these requirements documented anywhere?
On Tue, Jul 30, 2024, 2:31 PM Adam Regasz-Rethy @.***> wrote:
That is not a minimal config, your colorscheme is likely the issue.
— Reply to this email directly, view it on GitHub https://github.com/RRethy/vim-illuminate/issues/207#issuecomment-2259247167, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACC3NAUWI6A2UX3VZOPTCEDZPAA2ZAVCNFSM6AAAAABLW5TQ2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJZGI2DOMJWG4 . You are receiving this because you authored the thread.Message ID: @.***>
Turns out my issue was that I was defining the illuminate highlight groups like in the readme:
vim.cmd('hi IlluminatedWordText gui=underline')
vim.cmd('hi IlluminatedWordRead gui=underline')
vim.cmd('hi IlluminatedWordWrite gui=underline')
When I should have been doing:
vim.cmd('hi IlluminatedWordText cterm=underline')
vim.cmd('hi IlluminatedWordRead cterm=underline')
vim.cmd('hi IlluminatedWordWrite cterm=underline')
Describe the bug With my config, I can only get illuminate to visually work when I
:set termguicolors
.Is there a specific set of highlight groups my colorscheme must define for illuminate to work?
To Reproduce Steps to reproduce the behavior (include minimal
init.vim
or.vimrc
):Output from
:IlluminateDebug
Expected behavior Common symbols should illuminate on mouse over.