norcalli / nvim-colorizer.lua

The fastest Neovim colorizer.
Other
2.25k stars 117 forks source link

Bug: wrong highlight RRGGBBAA #53

Closed crivotz closed 2 years ago

crivotz commented 3 years ago

Describe the bug Not correctly represent the colors RRGGBBAA

To Reproduce

require'colorizer'.setup(
{'*';},
{
  RGB      = true;         -- #RGB hex codes
  RRGGBB   = true;         -- #RRGGBB hex codes
  names    = true;         -- "Name" codes like Blue
  RRGGBBAA = true;         -- #RRGGBBAA 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
})

Expected behavior Right color

Screenshots 0qr0quvadxr61

With another plugin: 3omFb5f

Operating System: Debian 10.9

Neovim Version: e.g. 0.5.0

Colorizer Version: 36c610a9717cc9ec426a07c8e6bf3b3abcb139d6

Additional context st terminal and tmux

crivotz commented 3 years ago

Hi @norcalli, can you considere to merge #57 from @kwshi?

unknownK19 commented 2 years ago

Screenshot from 2022-06-12 17-37-16 you need set mode be background

crivotz commented 2 years ago

Screenshot from 2022-06-12 17-37-16 you need set mode be background

I give it a try but doesn't works. The problem with RRGGBBAA still remains. however, I saw that this repository is no longer maintained so I proceeded to fork and merge the PR I indicated