SCSS.tmbundle icon indicating copy to clipboard operation
SCSS.tmbundle copied to clipboard

Why are unrelated files like .tmLanguage or .tmTheme files being opened with SCSS syntax?

Open MattDMo opened this issue 11 years ago • 2 comments

The contents of branch SublimeText2:SCSS.tmbundle/SCSS.sublime-settings are as follows:

{
  "extensions": ["scss", "scss.erb"],
  "hidden_extensions": ["sublime-snippet", "tmLanguage", "tmTheme", "tmSnippet", "tmPreferences"]
}

I don't understand why the "hidden_extensions" key with sublime-snippet, tmLanguage, and the rest are there, as the result is that when these files are opened from within the OS in ST2, they have SCSS syntax highlighting instead of what's appropriate. I can edit the file, but it gets overwritten any time the package updates through Package Control. Ideally, its contents should be the following:

{
  "extensions": ["scss", "scss.erb"],
  "hidden_extensions": []
}

Thank you for your attention to this, it's an incredibly annoying bug in an otherwise great package.

Matt

MattDMo avatar Oct 02 '13 01:10 MattDMo

Nice find!

If you submit a pull request, I'm more than happy to merge it into production.

MarioRicalde avatar Oct 02 '13 01:10 MarioRicalde

already working on it :)

On Oct 1, 2013, at 9:14 PM, Mario Ricalde [email protected] wrote:

Nice find!

If you submit a pull request, I'm more than happy to merge it into production.

— Reply to this email directly or view it on GitHub.

MattDMo avatar Oct 02 '13 01:10 MattDMo