-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for react-native? #27
Comments
So it seems that you can specify a custom regex for tailwind ls Reference But im trying to figure out how to set this for emacs (im pretty new to emacs) I found this gist: So i should be able to set the |
sounds great, did you get it to work? If do, maybe I should add a custom variable for easier customization in projects. |
Kinda, its a hack.
Im new to emacs and my regex isn't the best. But this works, but of course will show tailwind inside any quotes - not ideal. For example: this should work?:
But it doesn't, not quite sure what's happening though. |
the regex should be passed to the server as a string, maybe some escape sequence issue. I'll add a new custom variable |
I'm new to emacs too and maybe it will help somebody. Below is the way how you can fully set up twin.macro in the emacs: |
@merrickluo |
thanks, sounds great, please do. it also seems I got this option type wrong, maybe we should also fix that. |
Please have a look at the PR. What do you mean by "got this option type wrong"? The name looks consistent with others. Or do you mean something else? |
How would one get support for this lsp to work with packages such as
tailwind-react-native-classnames
and others?Where the tailwind classes are not within a class but backticks within style?
The text was updated successfully, but these errors were encountered: