coc-tailwindcss icon indicating copy to clipboard operation
coc-tailwindcss copied to clipboard

Autocomplete not working completely on Svelte

Open gitneeraj opened this issue 4 years ago • 2 comments
trafficstars

In my Vite + Svelte project, tailwindcss autocompletion of classes are not working completely. It does work partially but most of the bg- color classes don't appear. I have installed it via CocInstall coc-tailwindcss and I have tailwind.config.js at my root folder. I am using tailwind JIT mode if thats bothering in any way? Below is my setup -

Screenshot 2021-06-10 at 3 12 41 PM Screenshot 2021-06-10 at 3 13 10 PM Screenshot 2021-06-10 at 3 14 14 PM Screenshot 2021-06-10 at 3 15 43 PM

gitneeraj avatar Jun 10 '21 09:06 gitneeraj

Same here for a fresh svelte-kit app with tailwindcss added to it with svelte-add but I have the default config and a tailwind.config.cjs

agirorn avatar Aug 02 '21 22:08 agirorn

Looks like this repo is absolute. Also I no longer use COC as I've moved towards neovim 0.5 with built-in LSP.

gitneeraj avatar Aug 03 '21 15:08 gitneeraj