Skip to content

feat!: rework highlight groups to accept more than just text color. Replace colors option with highlights#168

Merged
vuki656 merged 1 commit intovuki656:masterfrom
boydaihungst:master
Sep 21, 2025
Merged

feat!: rework highlight groups to accept more than just text color. Replace colors option with highlights#168
vuki656 merged 1 commit intovuki656:masterfrom
boydaihungst:master

Conversation

@boydaihungst
Copy link
Copy Markdown
Contributor

@boydaihungst boydaihungst commented Sep 17, 2025

@boydaihungst boydaihungst force-pushed the master branch 2 times, most recently from 8f23fee to b021130 Compare September 17, 2025 21:59
Copy link
Copy Markdown
Owner

@vuki656 vuki656 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. Thanks for the PR!

Just a few small things.

@boydaihungst boydaihungst force-pushed the master branch 2 times, most recently from 25bd0e4 to 6b3f35d Compare September 20, 2025 00:44
…eplace `colors` option with `highlights`

* feat!: rework highlight groups to accept more than just text color.
  - Check [:help nvim_set_hl()](https://neovim.io/doc/user/api.html#nvim_set_hl()) for supported attributes.
  - Replace `colors` with `hightlights` option. Fully backward-compatible with old `colors` but a warn notification will show up.
  - Docs: updated with new highlights option.
  - Compatible with nvim 0.6.0

* fix:
  - Lazy loading highlight group.
  - Highlight group merge priority: user setup options > color scheme > default

* test:
  - Updated with new highlights options.
@vuki656 vuki656 merged commit a1de9eb into vuki656:master Sep 21, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants