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

single quotes not highlighted #78

Closed
PixnBits opened this issue May 6, 2015 · 10 comments
Closed

single quotes not highlighted #78

PixnBits opened this issue May 6, 2015 · 10 comments

Comments

@PixnBits
Copy link

PixnBits commented May 6, 2015

Might be the same cause of #77 but single quotes are not highlighted the same as double quotes, though both are valid:

@import "styles-a";
@import 'styles-b';

image

@PixnBits
Copy link
Author

PixnBits commented May 6, 2015

Might be that commit 416b18b41 was wonky (if even just whitespace)?

@KittyGiraudel
Copy link

Any chance we could get this fixed? :)

@defaye
Copy link

defaye commented May 17, 2015

Hasn't this been a long-standing issue? It feels icky to use double quotes where single quotes will suffice.

@callumlocke
Copy link

+1

@guerrero
Copy link

guerrero commented Jun 7, 2015

I've created a pull request to solve this problem. Until it's merged you can follow this steps to use the fixed version:

1. Remove your current package

Open Command Palette, write then Package Control: Remove Package and finally select Sass

2. Choose an option to copy the fixed version in your Packages folder :
Option A. Copy it manually
  1. Download fixed package from here
  2. Uncompress it
  3. Place it into ~/Library/Application Support/Sublime Text 3/Packages
Option B. Use a script

This script execute the same steps from option A in the same order but automatically :). Replace Sublime Text 3 by Sublime Text 2 if you're using the previous version:

cd "$HOME/Library/Application Support/Sublime Text 3/Packages" && wget -O sass-textmate-bundle.zip https://codeload.github.com/guerrero/sass-textmate-bundle/zip/sublime && unzip -q sass-textmate-bundle.zip && rm -f sass-textmate-bundle.zip && cd -

Steps explained:

  1. cd "$HOME/Library/.../Sublime Text 3/Packages" goes to Sublime Package Folder
  2. wget -O sass-textmate-bundle.zip https://codel... downloads the package zipped
  3. unzip -q sass-textmate-bundle.zip unzips package
  4. rm -f sass-textmate-bundle.zip removes zip files (extracted files don't change)
  5. cd - change to the previous dir before execute the script
3. Test the package :

Sublime Text automatically detects new packages s and import its files so the only thing you've to do is open a .sass or .scss file, open Command Palette and write Set Syntax: Sass

@PixnBits
Copy link
Author

PixnBits commented Jun 7, 2015

Nice!

@KittyGiraudel
Copy link

Ping @guerrero: anything specific to do after the wget command? I can't seem to see the package. :(

@guerrero
Copy link

guerrero commented Jun 9, 2015

Sorry @hugogiraudel, I've updated my previous message with a working script explained

@PixnBits
Copy link
Author

PixnBits commented Jun 9, 2015

ping @nathos

@nathos
Copy link
Owner

nathos commented Jun 9, 2015

@PixnBits Thanks :)

Merged in #79 to fix this

@nathos nathos closed this as completed Jun 9, 2015
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

6 participants