Skip to content

Conversation

One-In-Dark
Copy link
Contributor

There's an undocumented syntax group of VimTeX, texItemLabelConcealed. The labels of items in itemize-like environments, after concealing, is set to this group.

The item label is in general different to the normal texts, and should be highlighted differently. This commit sets the highlight group @label for that.

The item label is in general different to the normal texts, and should
be highlighted differently. This commit sets the highlight group for
that.
@savq savq added the plugin Support for a Neovim plugin label May 31, 2025
@savq
Copy link
Owner

savq commented May 31, 2025

I think @label is meant for GOTO labels in C, and other languages. Could this could use a @punctuation highlight group? If @label looks good, then it's probably fine to use it for now.

@savq savq merged commit b02df49 into savq:contrib May 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin Support for a Neovim plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants