scottmckendry / cyberdream.nvim

🤖💤 High-contrast, Futuristic & Vibrant Coloursheme for Neovim
MIT License
717 stars 30 forks source link

Comments seem to have highligting? #92

Closed bryangrimes closed 3 months ago

bryangrimes commented 4 months ago

Question or Suggestion

Love the theme, just curious on the comments. When I comment I get what look like highlights which look semi-random...but also seem to be highlighting some key words. If this is intended am I missing some config to stop the highlights? Cheers.

Screenshot 2024-07-05 at 8 13 15 PM
scottmckendry commented 4 months ago

I've not been able to reproduce this on my end of things. This is what my lua files look like:

image

If you move your cursor over one of the highlighted words and run :Inspect what is returned?

bryangrimes commented 3 months ago

Interesting yeah I'm getting it across file types and even in markdown. I'll see if there's some type of conflict going on with another package and get back to you, but this is the only theme I've seen this with. Appreciate the look.

markdown:

image
bryangrimes commented 3 months ago

Spellcheck was the reason. This is the only theme I've seen this with, so I'll look and possibly submit a PR, but disabling spellcheck corrected the highlighting.

vim.opt.spell = true

just remove or make false to fix it

bryangrimes commented 3 months ago

will close the question as solved, but the underlying reason needs a look. Cheers, thank you