nvim-colorizer.lua icon indicating copy to clipboard operation
nvim-colorizer.lua copied to clipboard

Added support for 0xAARRGGBB

Open afonsocraposo opened this issue 3 years ago • 2 comments

I typically program Flutter applications using Dart. To define colors, I use Color(0xFF00FF00), in which the color is represented as 0xAARRGGBB. I added support to this color representation in nvim-colorizer.lua, which can be activated using:

require 'colorizer'.setup {
  dart = { rgb_0x = true; } -- enable parsing "0xAARRGGBB"
}

afonsocraposo avatar May 08 '21 13:05 afonsocraposo

Can this also support 0xRRGGBB?

ObserverOfTime avatar Apr 02 '22 19:04 ObserverOfTime

I also need this not just for dart, for my hyprland config as well

ijontan avatar May 09 '24 16:05 ijontan