nvim-cmp + Tailwind LSP lags the crap out of the editor when typing HTML class names.

I understand this must be because Tailwind's suggestions come in large quantities.

But is there a way to improve this?

My config is pretty minimal and it's already slower than VSCode. I must be doing something wrong.

My config: link

Some guidance would be greatly appreciated.


1 Answer 1


I was able to fix my issue by using someone's fork of cmp that targetered this specific issue.


The suggestions seem to have some delay before showing up, but they don't lag the typing.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.