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

feat: add document colorizer for tailwindcss #21

Closed
wants to merge 8 commits into from

Conversation

PHSix
Copy link

@PHSix PHSix commented Nov 30, 2022

Hi, recently I saw that document-color.nvim implements the document colorizer feature. I think it is very cool and useful. So I try to implements the some feature in coc-tailwindcss3.

@PHSix
Copy link
Author

PHSix commented Nov 30, 2022

This job is still work in progress. Now I'm not sure if I need to compare the highlight information before and after two times to reduce the highlight refresh range.

@yaegassy
Copy link
Owner

Hi, Thanks for the PR. 🙇 However, the features of coc.nvim itself may already be able to handle this. Please give it a try.

coc-settings.json:

{
  "colors.enable": true
}

DEMO:

coc-tailwindcss3-document-color-enable.mp4

@yaegassy
Copy link
Owner

yaegassy commented Feb 1, 2023

Hi, This PR is closed because it can already be handled by the functionality of coc.nvim itself. 🙇

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

Successfully merging this pull request may close these issues.

None yet

2 participants