Add template literals to object region#1158
Add template literals to object region#1158NoahTheDuke wants to merge 1 commit intopangloss:masterfrom
Conversation
|
This PR isn't going to fix the problem you are having, the issues from that PR are based on invalid syntax. The way we syntax highlight within an object is very specific, and template strings are actually supported: I don't want to accept this PR because it will actually create broken highlighting. For a deep dive on how the syntax highlighting works: We create a We can use The way this plugin works - it fully supports Invalid: The bug in that particular issue is actually do a potential plugin conflict or improper settings |
|
Thanks for the long explanation! I appreciate you spending the time to tell me all that. Turns out, I did have my configuration messed up and in fixing that the highlighting corrected itself. |
|
@TrySound I believe this is a bug with using the shorthand fragment syntax As you can see in my example here: example is highlighted differently depending on whether I have the text Basically this is a bug with vim-jsx I believe. |
|
I just submitted a PR to the the mxw/jsx repo to fix this since the issue has been around for a while. |
|
Awesome thanks! |


Adds jsTemplateString to the jsObject region.
Fixes #1138