Syntax highlighting and a few snippets for the Squirrel Language
Contributions are welcome!
- 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)
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'
Much of the contents of this bundle were gathered and modified from the existing Javascript, Actionscript and Ruby bundles.