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

[Feature Request] Support colorizing hexadecimal literals

Open rlch opened this issue 4 years ago • 2 comments

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.

rlch avatar Jan 27 '22 04:01 rlch

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/

agentzhao avatar Mar 06 '22 14:03 agentzhao

@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

huggo-42 avatar Jul 11 '24 12:07 huggo-42