Re: [vim/vim] Combine highlighting for `numhl` when using multiples signs (Issue #16842)

Éric NICOLAS (Vim Github Repository) <[email protected]> Tue, 28 Jul 2026 16:45:58 -0700
Newsgroups gmane.editors.vim.devel
Message-ID <vim/vim/issues/16842/[email protected]>
ccjmne left a comment (vim/vim#16842)

AFAICT, currently, equal-priority signs ***do** get their properties merged*, but in the case of, say, @yegappan's (excellent) LSP plug-in, signs may be emitted with various priorities according to the severity of the corresponding diagnostic.

If we are to set, say, some VCS signs with `numhl` to the same priority as LSP's `error`-level, we'll get both the `E`rror indicator in the signs column, as well as the VCS colouring of the line number. However, in that case, if LSP were to emit only a `W`arning; we get only the VCS highlighting of the line number, and nothing in the gutter from LSP.

I do not know how to implement this most adequately without possibly ending up with some Frankenstein-like patchwork of `linehl`, `numhl`, `culhl`, `texthl`. What sort of configuration would Vim offer?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/vim/vim/issues/16842#issuecomment-5110961438
You are receiving this because you are subscribed to this thread.

Message ID: <vim/vim/issues/16842/[email protected]>

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/vim_dev/vim/vim/issues/16842/5110961438%40github.com.