MarioRicalde / SCSS.tmbundle

The TextMate SCSS Official Bundle. Now Compatible with SublimeText2.
834 stars 110 forks source link

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

Open MattDMo opened 10 years ago

MattDMo commented 10 years ago

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

MarioRicalde commented 10 years ago

Nice find!

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

MattDMo commented 10 years ago

already working on it :)

On Oct 1, 2013, at 9:14 PM, Mario Ricalde notifications@github.com 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.