Module colorizer.tailwind
Tailwind Handles Tailwind CSS color highlighting within buffers.
This module integrates with the Tailwind CSS Language Server Protocol (LSP) to retrieve and apply color highlights for Tailwind classes in a buffer. It manages LSP attachment, autocmds for color updates, and maintains state for efficient Tailwind highlighting.
Functions
| cleanup (bufnr) | Cleanup tailwind variables and autocmd |
| lsp_highlight (bufnr, opts, buf_local_opts, add_highlight, on_detach, line_start, line_end) | Highlight buffer using values returned by tailwindcss |