-
Notifications
You must be signed in to change notification settings - Fork 47
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
Bug: 0x colors are not produced #73
Comments
@Redhawk18, this is not a bug. You need to use the |
Do you have an example, I'm on mobile rn. |
I updated my config and do not see a differences return {
"NvChad/nvim-colorizer.lua",
config = function()
require("colorizer").setup({
filetypes = { "*" },
user_default_options = {
RRGGBBAA = true, -- #RRGGBBAA hex codes
AARRGGBB = true, -- 0xAARRGGBB hex codes
rgb_fn = true, -- CSS rgb() and rgba() functions
hsl_fn = true, -- CSS hsl() and hsla() functions
css = true, -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB
css_fn = true, -- Enable all CSS *functions*: rgb_fn, hsl_fn}
}
})
end,
} |
@Redhawk18 you do it wrong. The first thing you need to do is to use the return {
"NvChad/nvim-colorizer.lua",
opts = {
user_default_options = {
AARRGGBB = true, -- 0xAARRGGBB hex codes
}
},
} It seems that the plugin does not support the hex format (e.g. 0xff00ff) that you want to achieve. |
yeah it does not support it |
Fixed via #91 |
Describe the bug
colors using
0x
prefix are not displayedTo Reproduce
Go here in nvim: https://github.com/iced-rs/iced/blob/c76a9eb2ff08ac242ed27d7fb11f536c1cc4411a/style/src/theme/palette.rs#L140
Expected behavior
they are displayed just like
#
colorsScreenshots
Operating System:
opensuse tumbleweed
Neovim Version:
0.9.5
Colorizer Version:
commit 85855b3
The text was updated successfully, but these errors were encountered: