We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6dbaf4 commit 70a490cCopy full SHA for 70a490c
1 file changed
CoffeeScript.sublime-syntax
@@ -203,7 +203,8 @@ contexts:
203
- function-body
204
- function-parameter-list
205
- function-assignment
206
- - match: (?=\S)
+ # any non-whitespace char or end of file
207
+ - match: \S|\Z
208
fail: function
209
210
function-assignment:
@@ -246,7 +247,8 @@ contexts:
246
247
- match: '[=-]>'
248
scope: meta.function.coffee keyword.declaration.function.coffee
249
pop: 1
250
251
252
253
254
###[ FUNCTION CALLS ]#########################################################
0 commit comments