I want to modify the existing Textmate Groovy bundle so that it can be used for my Jenkinsfile
files.
In Syntaxes/Groovy.tmLanguage
, there is the fileTypes
section:
<key>fileTypes</key>
<array>
<string>groovy</string>
<string>gvy</string>
</array>
However, these are file extensions, not file names, as the reference doc I've found says:
fileTypes
(line 2) — this is an array of file type extensions that the grammar should (by default) be used with.
How can I make the bundle match on full filename for my Jenkinsfile
?