Skip to content
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

Inconsistent Styled Handling in .tsx Files #65

Open
TomPridham opened this issue Jun 25, 2019 · 4 comments
Open

Inconsistent Styled Handling in .tsx Files #65

TomPridham opened this issue Jun 25, 2019 · 4 comments
Labels
syntax waiting for feedback Waiting for OP to comment on whether provided solution works or not.

Comments

@TomPridham
Copy link

this plugin supports both the styled.div and styled('div') syntax in .js files, but it appears that only the latter is supported in .tsx files
Screen Shot 2019-06-25 at 1 00 16 PM
Screen Shot 2019-06-25 at 12 59 38 PM

@fleischie
Copy link
Collaborator

Hello @TomPridham

thanks for taking your time to post this issue, but I don't really understand what the issue is?

@TomPridham
Copy link
Author

TomPridham commented Jul 15, 2019

in tsx files, styled(Thing) gets the same highlighting as in a js file, but styled.div gets standard string highlighting. both styles work correctly in normal js files.
Screen Shot 2019-07-15 at 12 54 30 PM

@fleischie
Copy link
Collaborator

Hey @TomPridham,

firstly sorry for not responding in all this time, secondly I am not able to reproduce your reported behavior.
screen-1

If you continue to observe this behavior provide a vimrc and ideally a file with a minimum working example, so I can more easily help you. 😄

@TomPridham
Copy link
Author

no worries. i appreciate the work you've done on this plugin. i'll try and work up an example this weekend

@fleischie fleischie added waiting for feedback Waiting for OP to comment on whether provided solution works or not. syntax labels Oct 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
syntax waiting for feedback Waiting for OP to comment on whether provided solution works or not.
Projects
None yet
Development

No branches or pull requests

2 participants