robmerrell / squirrel-tmbundle

TextMate Bundle for the Squirrel programming language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Textmate Bundle for Squirrel

Syntax highlighting and a few snippets for the Squirrel Language

Contributions are welcome!

Snippets

  • class => class definition
  • constr => constructor definition
  • for => for (initialize; max; evaluate) { }
  • foreach => foreach (element in collection)
  • func => function name(args) { }
  • if => if (statement) { }
  • l => local variable
  • p => print(args)

Installation using Git

mkdir -p ~/Library/Application\ Support/TextMate/Bundles/
cd ~/Library/Application\ Support/TextMate/Bundles
git clone git://github.com/robmerrell/squirrel-tmbundle.git "Squirrel.tmbundle"
osascript -e 'tell app "TextMate" to reload bundles'

Credits

Much of the contents of this bundle were gathered and modified from the existing Javascript, Actionscript and Ruby bundles.

About

TextMate Bundle for the Squirrel programming language