merrickluo / lsp-tailwindcss

the lsp-mode client for tailwindcss
GNU General Public License v3.0
188 stars 21 forks source link

Can't get to work #28

Closed CurralesDragon closed 2 years ago

CurralesDragon commented 2 years ago

I'm moving from vscode to doom emacs and i'm trying to get this working. I'm pretty new to emacs.

I'v followed everything in the readme and the tailwindcss lsp is started and running when i check with M - x lsp. But i'm not getting any completions inside any files. Iv tried html, jsx and tsx files.

Is there something obvious I am missing?

I was also attempting to reinstall the tailwindcss lsp but it doesn't detect in lsp/uninstall-server. Is this a reason?

CurralesDragon commented 2 years ago

Ok turns out i accidentally deleted my node_modules folder - im assuming because it will check for local node_modules for the tailwind server instead of globally. So now it works..