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

Proper colouring of closing script tag when there is no semicolumn #37

Open
adicco opened this issue Oct 3, 2022 · 1 comment
Open

Comments

@adicco
Copy link

adicco commented Oct 3, 2022

Hello,

This is a minor detail, but I noticed that when not adding a semicolon after the last line in the script section of a vue file, the closing </script> tag does not get properly coloured:

image

It looks fine with a ;` but many ESLint configurations, such as Nuxt's, suggest not adding extra semicolon at the end of JS/TS statements.

image

Many thanks for your very nice extension!

@adicco adicco changed the title Proper colouring of closing script tag Proper colouring of closing script tag when there is no semicolumn Oct 3, 2022
@leafOfTree
Copy link
Owner

Hi, there
Thanks for your feedback. However, I'm not able to reproduce the issue.

Screen Shot 2022-10-11 at 14 16 49
Screen Shot 2022-10-11 at 14 19 20

Could you please check if you use any JS/TS syntax plugins?
If so, you can disable them temporarily to test whether they cause the issue. You can also share them with me and I can check their compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants