merrickluo / lsp-tailwindcss

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

Allow for TS config file as per new release of tailwind v3.3 #56

Closed LukFil closed 1 year ago

LukFil commented 1 year ago

In the new release of Tailwind, support for typescript config files was added ( https://tailwindcss.com/blog/tailwindcss-v3-3#esm-and-typescript-support ). This PR adds checks for presence of those .ts files, and fixes what I believed to be a typo in checking for .cjs config files.

merrickluo commented 1 year ago

thanks!