Tailwind-tools with Django-Tailwind #55
-
Hello everyone, After having worked on a tailwind project in vscode. This plugin made me want to try it out in nvim. I can't find anything useful in the LSP logs. All I noticed is that I can't get the tailwind (and html) LSP to set the root dir correctly in nvim. Other LSPs (python, ruff...) work fine. Note that I added Tailwind to my Django project using Django-Tailwind Has anyone had a similar issue? Your time and help is greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi, I'm not a Django user but where is the |
Beta Was this translation helpful? Give feedback.
-
Hello Luckas! The Django-Tailwind plugin places all tailwind & js related files in a "theme" directory at the project root. ├── apps.py If I'm understanding you right, i need to configure a different root-dir for the lsp. |
Beta Was this translation helpful? Give feedback.
No, you don't have to add anything, the plugin should be responsible of configuring that.
I've added support for Django tailwind it should work now. Let me know if it doesn't.