Overview:
The tailwind-tools.nvim is an unofficial Tailwind CSS integration and tooling for Neovim written in Lua and JavaScript. It leverages the built-in LSP client, Treesitter, and the NodeJS plugin host, inspired by the official Visual Studio Code extension.
Features:
- Language Support: Works with all languages inheriting from html, css, and tsx treesitter grammars.
- Features Provided: Class color hints, concealing, motions, sorting, completion utilities, and previewer.
- Prerequisites: Neovim v0.9 or higher, tailwindcss-language-server, Treesitter grammars, and Neovim node-client.
Installation:
- Using lazy.nvim: Register the remote plugin by running the
:UpdateRemotePlugins
command, then call setup to enable the Lua plugin.
Summary:
The tailwind-tools.nvim is a powerful tool for Neovim users looking to integrate Tailwind CSS seamlessly into their workflow. With features like class color hints, completion utilities, and a previewer, along with support for various treesitter grammars, it enhances the development experience. Installation is straightforward, especially with lazy.nvim, making it accessible for users of different package managers.