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

highlight broken on end of script. #198

Open
this-user-name opened this issue Mar 18, 2020 · 6 comments
Open

highlight broken on end of script. #198

this-user-name opened this issue Mar 18, 2020 · 6 comments

Comments

@this-user-name
Copy link

This Happens in all my .vue files.
Using the last version of sublime text.
image
image

@rchl
Copy link

rchl commented Sep 9, 2021

Can you still reproduce that with the latest version of ST and the syntax? If so then you should post the code sample that reproduces since it would be impossible to do from the image.

@aronanda
Copy link

aronanda commented Sep 13, 2021

@rchl I just started getting a similar issue where it doesn't seem to be parsing a template tag correctly. I could make a separate issue about it, I just saw this similar issue. The script and style tags work fine still, not sure what happened. I did update Node.js, don't know if that could be related. This started happening even before I update to the latest Sublime. Any thoughts? p.s. I've got a weird color scheme, but you can see the right > is white when usually the whole thing is grey.

EDIT: I was able to install the Vuejs Complete Package and it works. Although I think I liked your highlighting scheme a little better. Cheers!

<template>
  <div :foo="supposed.to.parse.js('sort of works')"></div>
</template>

Screen Shot 2021-09-12 at 6 44 25 PM

@rchl
Copy link

rchl commented Sep 13, 2021

It looks like this in the latest version of ST, syntax and Mariana theme:

Screenshot 2021-09-13 at 08 46 04

The issue for you could be with your color scheme.

@aronanda
Copy link

Right you are, that's a bummer though, been using that scheme for like 5 years now (
But, not on you, your code is flawless. Thanks for the help!

@meyt
Copy link

meyt commented Nov 20, 2021

I can confirm this problem exists.

Environment:

  • Sublime Text - build 4121
  • Vue Syntax Highlight v4.0.1
  • Color Scheme: Monokai

Screenshots:

sb11

its normal until you expand the <script> tag.

sb22

@meyt
Copy link

meyt commented Nov 20, 2021

I've tested again with a clean ~/.config/sublime-text and only installed the Vue Syntax Highlight v4.0.1 package, now everything works fine. actually there is no problem at all, its just because of conflicting with other packages.

sb33

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

4 participants