vim-styled-components
vim-styled-components copied to clipboard
Inconsistent Styled Handling in .tsx Files
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
Hello @TomPridham
thanks for taking your time to post this issue, but I don't really understand what the issue is?
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.
Hey @TomPridham,
firstly sorry for not responding in all this time, secondly I am not able to reproduce your reported behavior.
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. :smile:
no worries. i appreciate the work you've done on this plugin. i'll try and work up an example this weekend