diff --git a/extras/CoffeeScript.tmbundle/Syntaxes/CoffeeScript.tmLanguage b/extras/CoffeeScript.tmbundle/Syntaxes/CoffeeScript.tmLanguage index 7ef56a50..69e503cf 100644 --- a/extras/CoffeeScript.tmbundle/Syntaxes/CoffeeScript.tmLanguage +++ b/extras/CoffeeScript.tmbundle/Syntaxes/CoffeeScript.tmLanguage @@ -7,19 +7,20 @@ fileTypes coffee + Cakefile - name - CoffeeScript foldingStartMarker ^.*[:=] \{[^\}]*$ foldingStopMarker \s*\} + name + CoffeeScript patterns captures - 1 + 1 name variable.parameter.function.coffee @@ -73,35 +74,35 @@ constant.numeric.coffee - match - (@)([a-zA-Z_$]\w*)? - name - variable.other.readwrite.instance.coffee + match + (@)([a-zA-Z_$]\w*)? + name + variable.other.readwrite.instance.coffee - - name - string.quoted.heredoc.coffee - begin - ("""|''') - end - ("""|''') - beginCaptures - + + begin + ("""|''') + beginCaptures + 0 name punctuation.definition.string.begin.coffee - endCaptures - + end + ("""|''') + endCaptures + 0 name punctuation.definition.string.end.coffee - + name + string.quoted.heredoc.coffee + begin ' @@ -166,6 +167,10 @@ name constant.character.escape.coffee + + include + #interpolated_coffee + @@ -255,10 +260,6 @@ keyword.control.coffee - match - \b([a-zA-Z$_](\w|\$|:|\.)*\s*(?=\:)) - name - variable.assignment.coffee captures 1 @@ -267,6 +268,10 @@ entity.name.function.coffee + match + \b([a-zA-Z$_](\w|\$|:|\.)*\s*(?=\:)) + name + variable.assignment.coffee match @@ -353,6 +358,66 @@ meta.brace.square.coffee + repository + + interpolated_coffee + + patterns + + + begin + \$\{ + captures + + 0 + + name + punctuation.section.embedded.coffee + + + end + \} + name + source.coffee.embedded.source + patterns + + + include + $self + + + + + captures + + 1 + + name + punctuation.definition.variable.coffee + + + match + (\$)@[a-zA-Z_][\w\.]* + name + variable.other.readwrite.coffee + + + captures + + 1 + + name + punctuation.definition.variable.coffee + + + match + (\$)(?!@)[a-zA-Z_][\w\.]* + name + source.coffee.embedded.source + + + + scopeName source.coffee uuid