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

Not working with SCSS syntax in ST3 Build 3176 #161

Closed
vovka93 opened this issue Oct 31, 2018 · 15 comments · Fixed by #162
Closed

Not working with SCSS syntax in ST3 Build 3176 #161

vovka93 opened this issue Oct 31, 2018 · 15 comments · Fixed by #162

Comments

@vovka93
Copy link

vovka93 commented Oct 31, 2018

If I understood correctly, this package works with github.com/braver/SublimeSass and sass highlight works fine, but when I switch to lang="scss" syntax is broken

2018-10-31_101017

@greyscaled
Copy link

greyscaled commented Oct 31, 2018

See the issue I created SublimeText/Sass#15

SublimeSass recently switched to braver's fork and got its first push to package control. Among the differences is a change in scope from source.scss to source.css.scss.

It looks like we'll have to wait for vue-syntax-highlight to update to match scopes.

- include: source.scss

Current Workaround

  • (optional) disable SublimeSass
  • use the old package, which was renamed to syntax highlighting for sass and is available here

@rchl
Copy link

rchl commented Oct 31, 2018

Another workaround:

@skyronic
Copy link
Collaborator

skyronic commented Nov 1, 2018

A new release has been pushed out. Can you try to update it and let me know if the issue persists?

@domstubbs
Copy link

That’s fixed it for me, thanks!

@thariddler
Copy link

thariddler commented Nov 2, 2018

Nothings fixed. SCSS not working. How to fix it? I reinstalled Vue synthax highlight with no success.

Why in the hell broke things that already works?

@greyscaled
Copy link

greyscaled commented Nov 2, 2018

@thariddler make sure you're using braver's Sass and not Syntax Highlighting for Sass

@thariddler
Copy link

What the fuck is braver's Sass and how do I make sure of that

@greyscaled
Copy link

1
2

@thariddler
Copy link

So you want to tell me that from now long I need to install some shady plugin to use SCSS with Vue? Why are you killing it?

@thariddler
Copy link

Vue ecosystem is turning into pile of chaos.

@thariddler
Copy link

I used this for SCSS highlightning - https://packagecontrol.io/packages/SCSS

All was working just fine.
Now you are telling me that I need to use some fucking braver plugin for that? Rly???

@dgirgenti
Copy link

If this package (vue-syntax-highlight) explicitly requires a specific external package, it needs to be listed somewhere, or better yet, included as a dependency. This issue being closed, I had to hunt down why my SCSS was no longer being highlighted. I personally use a Sublime Package for SCSS that has been working for years, even in .vue files, and it no longer works.

@skyronic
Copy link
Collaborator

skyronic commented Nov 2, 2018

A new update has been pushed out and previously supported SCSS packages should work again. Do let me know if you continue experiencing issues.

@cmcleese
Copy link

cmcleese commented Nov 5, 2018

I'm currently using :

  • braver/SublimeSass - v2.1.1
  • vuejs/vue-syntax-highlight - v3.3.3

<style lang="scss"> = no highlight
<style lang="sass"> = no highlight
<style lang="css"> = yes highlight

@dluague
Copy link

dluague commented Nov 15, 2018

Removing braver/SublimeSass and installing it again fixes mine.

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

Successfully merging a pull request may close this issue.

9 participants