genoma / language-pug

A Pug (was Jade) syntax highlighting for Atom, derived from https://github.com/davidrios/jade-tmbundle
MIT License
26 stars 8 forks source link

Add support for embedded languages in script/style tags #10

Closed joepie91 closed 8 years ago

joepie91 commented 8 years ago

This patch makes the following changes:

  1. Makes the script/style type matching a bit stricter by actually looking for the property.
  2. Adds support for CoffeeScript, SASS, SCSS, Stylus, and Less - with and without mimetype 'category' prefix.

This is useful for cases where you want to embed something in a preprocessed language, but you don't want to use Jade filters (eg. for client-side components).