Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(highlight): fix invalid highlight for doc separator #449

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

tim3nd
Copy link
Contributor

@tim3nd tim3nd commented Dec 5, 2024

Found highlight group for separator not work, and no description for the highlight group in README.

Not familiar with nvim_buf_set_extmark, but it seems work fine.

Before ( separator in doc window should be RED #9e2e2e after setting highlight group) :

image

After (highlight group works)

image


Also I think maybe previous highlight group naming ( BlinkCmpDocDetail ) have some ambiguity, therefore currently using BlinkCmpDocSeparator as a substitute in the PR.

Also add default highlight in default config and README
@Saghen Saghen merged commit 283a6af into Saghen:main Dec 5, 2024
@Saghen
Copy link
Owner

Saghen commented Dec 5, 2024

Thanks!

@tim3nd tim3nd deleted the fix-doc_separator_highlight branch December 5, 2024 15:20
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