I switched back to Zed from Antigravity. It was fun when it lasted until I reflected on 2025 on the whole only to realize most of my programming interaction has been with an agent (Cursor specifically), rather than me breaking my head and learning new things.
The moment I moved back, I hit up on this annoying warning on my CSS files which shows “unknown @ rule errors” when you use Tailwind v4 for your projects on Zed.
The trick is simple. The Tailwind CSS language server is already included in Zed, so all you have to do is make it the default language server for CSS files.
How to fix “unknown @ rule” errors in Zed with Tailwind v4
Open your Zed settings and search for “language server”.
Add the following configuration:
"languages": { "CSS": { "language_servers": ["tailwindcss-language-server"], }, },Save the settings.
That’s it. Now you can use Tailwind v4 without any warnings on Zed.
Ref:
- Solution on GitHub Issue.
