Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Support colorizing hexadecimal literals #74

Open
rlch opened this issue Jan 27, 2022 · 2 comments
Open

[Feature Request] Support colorizing hexadecimal literals #74

rlch opened this issue Jan 27, 2022 · 2 comments

Comments

@rlch
Copy link

rlch commented Jan 27, 2022

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
Copy link

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
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants