Friday, April 3, 2020

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

Lifepillar wrote:

> On 2020-04-02, Christian Brabandt <cblists@256bit.org> wrote:
> >
> > On Mi, 01 Apr 2020, Daniel Gray wrote:
> >
> >> Hi,
> >>
> >> I'm currently working on a theme called Selenized https://github.com/jan-warchol/selenized/
> >>
> >> We're using https://github.com/lifepillar/vim-colortemplate to template
> >> our theme.
> >>
> >> The issue I'm having is https://github.com/jan-warchol/selenized/pull/71#pullrequestreview-375757756
> >>
> >> We cannot seem to get SpellRare to work in Vim, yet it works in NeoVim.
>
> > First of all, I am not really sure what the problem is.
>
> I think that the OP's issue amounts to `undercurl` not producing an
> underline in Vim's terminal. I can reproduce it in my terminals
> (macOS's Terminal.app and iTerm2):
>
> hi SpellBad cterm=undercurl
> hi SpellBad cterm=underline
> hi SpellBad cterm=undercurl
>
> (The highlight group, termguicolors, and `gui` do not really matter).
>
> Is that intended behaviour?

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.

Regards
Dominique

--
--
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/CAON-T_gNQbZLC69yPKOBne%2BZeUHnCv2CyRhwBh76TscVBUHFCw%40mail.gmail.com.

No comments:

Post a Comment