nvim-colorizer.lua
nvim-colorizer.lua copied to clipboard
Bug: Incorrect tailwind lsp colors when applying selectors
Describe the bug
lsp colors are only applied to the dark: selector when custom colors are defined. This occurs when tailwind is set to tailwind="both" during configuration.
To Reproduce nvim-colorizer config:
{
"NvChad/nvim-colorizer.lua",
opts = {
user_default_options = {
names = false,
tailwind = "both",
},
},
},
Configure custom colors within tailwind.config:
extend: {
colors: {
gray: {
700: "#AC50EF",
800: "#2ECFF6",
}
}
}
Expected behavior I would expect lsp colors to take precedence over hardcoded colors upon loading.
Screenshots
Operating System: MacOS Ventura 13.3
Neovim Version: 0.9.0
Colorizer Version: dde3084
Additional context