dasupradyumna/midnight.nvim

feature: underline words with incorrect spellings

Closed this issue · 6 comments

vnea commented

Did you check the documentation and existing issues?

  • I have read all the midnight.nvim documentation
  • I have searched through all existing issues of midnight.nvim

Is your feature request related to a problem? Please describe.

I use:

  • Neovim v0.9.4.
  • dasupradyumna/midnight.nvim v.0.1

When I enable spell check (set spell), the words with incorrect spellings are not underlined:
image

Whereas with the default theme, it works:
image

Describe the solution you'd like

I want the words with incorrect spellings to be underlined like in the default theme.

Describe alternatives you've considered

Using another theme which supports this feature...

Additional context

No response

Hey, thanks for the issue!
Can you run :Inspect with the cursor on the word "wrongg" using the default theme. I will add the necessary highlight groups.

vnea commented

When I do that, I have this error:

image

But I tried to run :Inspect! instead and I got this:

image

Is it good?

Interesting, thanks for the response. I'll get back to you soon. :)

Hello.

Any news?

Hey, sorry for the late response, I have been busy with interviews. I think they are mostly related to the Spellxxx highlight groups. I'll push the fix soon.

I have added the necessary highlight groups.

If you want to tweak the colors I have added, you can add SpellBad = { style = 'underline' } in the plugin setup options to get the default theme behavior you have shown previously (refer to README).