Friday, April 3, 2020

Re: Theme dev (Selenized) help: SpellRare and undercurl not working in Vim, works in NeoVim

On 20/04/03 11:57AM, Dominique Pellé wrote:
>In vim :help undercurl, I see:
>
>=== BEGIN QUOTE ===
>"undercurl" is a curly underline. When "undercurl" is not possible
>then "underline" is used. In general "undercurl" and "strikethrough"
>is only available in the GUI.
>=== END QUOTE ===
>
>So we should check whether we at least see an underline in
>the terminal.
>
>In any case, this ticket needs a better description with
>a clear reproducible case to avoid wasting time of developers.
>

The reality seems to be that is not occuring in both Gnome Terminal or
Alacritty.

For example I tested this with:

hi SpellBad ctermfg=NONE ctermbg=NONE cterm=underline
hi SpellCap ctermfg=NONE ctermbg=NONE cterm=underline
hi SpellLocal ctermfg=NONE ctermbg=NONE cterm=underline
hi SpellRare ctermfg=NONE ctermbg=NONE cterm=underline

and:

hi SpellBad ctermfg=NONE ctermbg=NONE cterm=undercurl
hi SpellCap ctermfg=NONE ctermbg=NONE cterm=undercurl
hi SpellLocal ctermfg=NONE ctermbg=NONE cterm=undercurl
hi SpellRare ctermfg=NONE ctermbg=NONE cterm=undercurl

https://github.com/jan-warchol/selenized/pull/71#discussion_r403417407

This was the result (a screenshot).

https://user-images.githubusercontent.com/48640805/78417697-3814aa00-7624-11ea-8b22-6da139c012d7.png

Everything seems to work as intended in NeoVim, but not Vim :(

The undercurl does seem to work in gVim though.

--
Daniel Gray (dng) 0x41911F722B0F9AE3
https://social.privacytools.io/@dngray

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20200404052117.hnwf5uszvqenv5yh%40disroot.org.

No comments: