RRethy / vim-illuminate

illuminate.vim - (Neo)Vim plugin for automatically highlighting other uses of the word under the cursor using either LSP, Tree-sitter, or regex matching.
2.18k stars 50 forks source link

illuminate will highlight cmp ghost text #192

Closed xzbdmw closed 8 months ago

xzbdmw commented 8 months ago

Describe the bug

截屏2024-02-05 17 21 08

the ghost text is highlighted which should not be the case

To Reproduce Steps to reproduce the behavior (include minimal init.vim or .vimrc):

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Note Omitting a minimal init.vim/init.lua/.vimrc will likely result in the issue being closed without explanation.

Output from :IlluminateDebug

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

xzbdmw commented 8 months ago

I see modes_denylist .