leafOfTree / vim-vue-plugin

Vim syntax and indent plugin for .vue files
The Unlicense
177 stars 9 forks source link

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

Open adicco opened 1 year ago

adicco commented 1 year ago

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!

leafOfTree commented 1 year ago

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.