headwind.nvim icon indicating copy to clipboard operation
headwind.nvim copied to clipboard

bug when used with classnames package

Open kyle-mccarthy opened this issue 3 years ago • 5 comments

I have a typescript file that contains a react component and one of HTML elements uses the classnames utility to manage the element's classNames property. When trying to save the component + headwind.nvim resorts the classnames, it outputs invalid JSX. (see gif)

2021-05-26 10 29 11

BTW thanks for this plugin! All the existing headwind integrations are outdated and don't work with Tailwind 2 or JIT.

kyle-mccarthy avatar May 26 '21 15:05 kyle-mccarthy