Sublime Text reading SASS files as HAML

A fix for when Sublime Text is reading SASS files incorrectly

If this is happening for you and you want to fix it the quickest way do do this is to edit Ruby Hamil.tmLanguage on Mac OS X this can be found at the following location: /Library/Application Support/Sublime Text 2/Packages/Rails/Ruby Haml.tmLanguage.

Once you have it open look for the line <string>sass</string> and delete it.

As soon as you save the document it should no longer associate SASS files as HAML, now this isn’t the case the SASS syntax should take over (assuming you have downloaded it).

Recent posts View all

JavaScript

Setting a more specific database type in Prisma

Prisma sets a default of TEXT for all String fields, here is how you can override that.

Ruby

Override database attribute types

Sometimes you don't have control over how your database handles information, so you need Rails to set it