nvim-colorizer.lua
nvim-colorizer.lua copied to clipboard
[Feature Request] Support colorizing hexadecimal literals
In Flutter, colors are instead created by using hex integers as such:
Color(0xFFF2F2F2)
It would be great to have (opt-in?) support for this if possible.
Would be great if there will be support for tailwindcss as well!
https://www.reddit.com/r/neovim/comments/mi9wli/got_tailwindcss_color_highlighting_working/
@rlch you can use this fork https://github.com/NvChad/nvim-colorizer.lua
Just remember to set AARRGGBB to true (it's false by default)
AARRGGBB = true, -- 0xAARRGGBB hex codes