norcalli / nvim-colorizer.lua

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

[Feature Request] Support colorizing hexadecimal literals #74

Open rlch opened 2 years ago

rlch commented 2 years ago

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.

agentzhao commented 2 years ago

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/

huggo-42 commented 1 month ago

@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