mirror of
https://github.com/Microsoft/vscode
synced 2024-10-05 19:02:54 +00:00
Detect shebang for Groovy files
* Should match "#!groovy", "#!/usr/bin/env /path/to/groovy" & "#!/usr/bin/groovy" types * Very useful for people editing Jenkinsfile configuration (which has no file extension)
This commit is contained in:
parent
da56a2cd40
commit
d681138365
|
@ -8,6 +8,7 @@
|
|||
"id": "groovy",
|
||||
"aliases": ["Groovy", "groovy"],
|
||||
"extensions": [".groovy", ".gvy", ".gradle"],
|
||||
"firstLine": "^#!.*\\bgroovy\\b",
|
||||
"configuration": "./language-configuration.json"
|
||||
}],
|
||||
"grammars": [{
|
||||
|
@ -20,4 +21,4 @@
|
|||
"path": "./snippets/groovy.json"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue