Closed afonsocraposo closed 3 days ago
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:
Color(0xFF00FF00)
nvim-colorizer.lua
require 'colorizer'.setup { dart = { rgb_0x = true; } -- enable parsing "0xAARRGGBB" }
Can this also support 0xRRGGBB?
0xRRGGBB
I also need this not just for dart, for my hyprland config as well
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 innvim-colorizer.lua
, which can be activated using: