ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Haml

by phuibonhoa ST2/ST3

HAML Bundle for Textmate

Details

  • 2014.05.07.00.15.23
  • github.​com
  • 1 year ago
  • 16 minutes ago
  • 4 years ago

Installs

  • Total 34K
  • Win 7K
  • OS X 19K
  • Linux 8K
Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22
Windows 0 7 1 4 7 7 2 3 8 8 8 3 4 3 4 3 3 8 8 6 2 2 6 7 7 6 4 5 3 6 15 6 6 7 6 8 10 7 11 5 3 2 5 8 7 8
OS X 0 11 22 17 18 8 6 11 9 17 10 13 15 6 3 13 14 14 18 11 10 11 8 17 21 15 6 11 7 12 17 24 15 15 2 12 14 20 14 17 24 6 5 11 14 16
Linux 0 2 10 10 8 10 2 3 3 7 2 7 9 2 3 6 13 6 6 9 6 5 6 4 9 11 7 1 3 0 6 10 7 7 4 1 8 6 8 7 8 3 5 5 9 8

Readme

Source
raw.​githubusercontent.​com

HAML TextMate Bundle

Description

Forked from the Handcrafted HAML TextMate Bundle. Additions include

Improved Language

  • Text inside Ruby, ERB, Javascript, Sass, and CSS filters are now properly recognized so you get all the syntax highlighting, snippets, commands, etc.
  • Added built-in html recognition. Helpful when you include html in your haml.
  • Ruby code inside #{} recognized as embedded ruby
  • Updated language so that < and > are recognized as HAML constants

Added snippets and commands

  • ⌘⌥+C converts selection from HTML to HAML (and tries to convert erb to haml style - still beta-y)
  • ⌃+> inserts #{} and toggles between #{ruby code} and #{ ruby code }
  • Added snippets for attributes (:⇥ and =>)
  • Added full trigger snippets for common html elements (ie table, br, div, h1, h2, etc.)
  • ⌘+/ uses rails comments -# instead of HTML comments
  • ⌘⌥+X escapes HTML special characters

Installation

  1. $ cd ~/Library/Application\ Support/TextMate/Bundles/
  2. $ git clone git://github.com/phuibonhoa/handcrafted-haml-textmate-bundle.git Haml.tmbundle
  3. $ osascript -e 'tell app "TextMate" to reload bundles'

If you'd like to install all my bundles, check out this script written by mkdynamic. It installs all bundles and backups any existing bundles with conflicting names. Thanks Mark!

My Other Textmate Bundles

My bundles work best when use in conjunction with my other bundles:

Credits

Additions by Philippe Huibonhoa and funded by BookRenter.com.

Original bundle can be found here