Permalink
Browse files

CoffeeScript Support Added

Added scope and snippets for CoffeeScript
  • Loading branch information...
1 parent 8be9b7a commit 5fd76390256a87c1d57a3239436be0c1b956f0cd Douglas Reynolds committed Mar 22, 2012
@@ -1,5 +1,5 @@
{
- "scope": "source.js,source.js.embedded.html",
+ "scope": "source.js,source.js.embedded.html,source.coffee",
"completions":
[
@@ -0,0 +1,8 @@
+<snippet>
+ <content><![CDATA[
+Backbone.Collection
+]]></content>
+ <tabTrigger>bc</tabTrigger>
+ <scope>source.coffee</scope>
+ <description>Backbone Collection</description>
+</snippet>
@@ -0,0 +1,8 @@
+<snippet>
+ <content><![CDATA[
+Backbone.Model
+]]></content>
+ <tabTrigger>bm</tabTrigger>
+ <scope>source.coffee</scope>
+ <description>Backbone Model</description>
+</snippet>
@@ -0,0 +1,10 @@
+<snippet>
+ <content><![CDATA[
+define [ ${1:dependencies} ], (${2:params}) ->
+ ${3:name} = ${4:type}
+ ${3:name}
+]]></content>
+ <tabTrigger>bd</tabTrigger>
+ <scope>source.coffee</scope>
+ <description>Backbone requirejs Module definition</description>
+</snippet>
@@ -0,0 +1,8 @@
+<snippet>
+ <content><![CDATA[
+Backbone.Router
+]]></content>
+ <tabTrigger>br</tabTrigger>
+ <scope>source.coffee</scope>
+ <description>Backbone Router</description>
+</snippet>
@@ -0,0 +1,8 @@
+<snippet>
+ <content><![CDATA[
+Backbone.View
+]]></content>
+ <tabTrigger>bv</tabTrigger>
+ <scope>source.coffee</scope>
+ <description>Backbone View</description>
+</snippet>
View
@@ -0,0 +1 @@
+{"url": "https://github.com/tomasztunik/Sublime-Text-2-Backbone.js-package", "version": "2012.02.02.17.59.22", "description": "Tab completions and snippets for Backbone.js (0.9.1)"}

0 comments on commit 5fd7639

Please sign in to comment.