-
Notifications
You must be signed in to change notification settings - Fork 201
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
Neovim is broken with tailwindcss #569
Comments
Same problem here |
ditto |
I have the same issue. I had it working before with coc, but now with nvim lsp tailwind is taking a bunch of ram and making neovim run laggy |
Having the same issue, tried a few older versions and only 0.0.5 seems a bit faster and less memory usage, but still, using 300mb+ is not a good experience :/ |
Yup can also confirm. Memory usage goes to the moon and neovim gets laggy. |
did you guys find any solution? even if it's a temporary, tailwind LSP is starting to get annoying to work with. |
@hamooo-d unfortunately no, nothing new. Here are more details: neovim/neovim#19118 (comment) To me it looks like an issue with nvim-cmp. I have no problems when using the lsp without nvim-cmp. |
It seems |
Some explonations: |
It returns ~9,000 items because that's how many Tailwind classes are available. We actually just did a lot of work to reduce the total size of the completion response and it's about 90% smaller than it was (assuming your client supports |
This has been fixed in nvim-cmp in the meantime |
any plans for async implementation in the future?) |
My PR also improved performance and tbh it's good enough for me for now :) |
What version of Tailwind CSS IntelliSense are you using?
v0.7.0
What version of Tailwind CSS are you using?
What version of Tailwind CSS IntelliSense are you using?
v0.7.0
What version of Tailwind CSS are you using?
v2.0.4
What package manager are you using?
npm
What operating system are you using?
Debian 11
Reproduction URL
neovim/neovim#19118
Describe your issue
Neovim is very popular editor but tailwindcss not working properly with it. All other LSP working fine. Probably some problems in tailwindcss implementaion. When i use completion menu - memory growing and growing slowly beyound 1GB, some documentation, cache - don't know. Any idea what's going on?
175874963-2d2c1992-779e-4709-9d68-02bbd74ba075.mp4
The text was updated successfully, but these errors were encountered: