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

Web DevProductivity

Keeping on top of website updates

Learn what website updates are, what they entail, why they are important, and how we can help

Freelancing

Getting the most out of your agency

Here are some tips based on years of working with, for, and as an agency on how to get the most out of any work you do.