thegoose51 / vsce-plush

Language support for the Go Plush templating package. See https://github.com/gobuffalo/plush or https://godoc.org/github.com/gobuffalo/plush to learn more about the Plush templating package.
https://marketplace.visualstudio.com/items?itemName=CJamesMay.plush
MIT License
5 stars 1 forks source link

Nested double quote breaks the sintax highlight #1

Open Zikoel opened 4 years ago

Zikoel commented 4 years ago

Describe the bug The syntax highlighting is broken when there are nested double quote. This an example of what happen plush-plugin-problem

To Reproduce

Copy this simple line of code inside a valid template <script type="text/javascript" async src="<%= assetPath("js/load_css.js") %>"></script>

Expected behavior The syntax highlight should mange the two nested "

Environment (please complete the following information):

Zikoel commented 4 years ago

I've notices from the inspector that the plush scope is the last one on the relevant part of the line and here the order is important! Maybe this can be the cause. token-inspect