Skip to content

Conversation

budimanjojo
Copy link
Contributor

This enable users to use hex color for highlight bg.

Instead of specifying highlight_bg = 'white', I prefer specifying highlight_bg = '#ffffff'.
But it's not possible because ctermbg doesn't support hex color.

This PR allows the user to do just that, I also simplify the code a little by using the API to create highlight instead of using vim.api.nvim_exec().

Thanks before!

Signed-off-by: budimanjojo <budimanjojo@gmail.com>
@cappyzawa
Copy link
Owner

Sorry for the late reply.

Thanks for making it possible 🥇

@cappyzawa cappyzawa merged commit b2ecb4a into cappyzawa:master Mar 9, 2024
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