language-haml

HAML package for Atom

HarlemSquirrel

229,030

257

0.32.1

MIT

GitHub

language-haml

Haml language grammar for GitHub's Atom IDE.

screenshot

Supported Filetypes

Supported filters

You can switch to another language right in the middle of your Haml file by using a "filter":

screenshot

This Haml bundle currently supports the following filters:

The Haml documentation lists the following additional filters:

To add more you can simply copy and paste one of the captures in the ruby haml.cson file and make the changes necessary to support your filter of choice:

{
  'begin': '^(\\s*)(:css)'
  'beginCaptures':
    '2':
      'name': 'entity.name.tag.haml'
  'end': '^(?! *$|\\1 )'
  'name': 'source.css.embedded.html'
  'patterns': [
    {
      'include': 'source.css'
    }
  ]
}