We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cca127 commit 783a19bCopy full SHA for 783a19b
1 file changed
CoffeeScript.sublime-syntax
@@ -15,8 +15,8 @@ file_extensions:
15
16
first_line_match: |-
17
(?xi:
18
- ^ \#! .* \b(coffee(-script)?)\b # shebang
19
- | ^ \s* \# .*? -\*- .*? \bcoffee(-script)?\b .*? -\*- # editorconfig
+ ^ \#! .* \b(coffee(-script)?(?:\d(?:\.\d+)?)?)\b # shebang
+ | ^ \s* \# .*? -\*- .*? \bcoffee(-script)?(?:\d(?:\.\d+)?)?\b .*? -\*- # editorconfig
20
)
21
22
##############################################################################
@@ -87,7 +87,7 @@ contexts:
87
- meta_include_prototype: false
88
- meta_scope: comment.line.shebang.coffee
89
# Note: Keep sync with first_line_match!
90
- - match: coffee(?:\d(?:\.\d+)?)?{{break}}
+ - match: coffee(-script)?(?:\d(?:\.\d+)?)?{{break}}
91
scope: constant.language.shebang.coffee
92
- match: $\n?
93
pop: 1
0 commit comments