Add firstline match for Makefile
Some makefiles don't have a file extension and are not named "*Makefile*" but have a shebang that can be used to identify it as a makefile. Example: `debian/rules` in all Debian packages.pull/38126/head
parent
099025d9ba
commit
cabc8385d1
|
@ -13,6 +13,7 @@
|
|||
"aliases": ["Makefile", "makefile"],
|
||||
"extensions": [ ".mk" ],
|
||||
"filenames": [ "Makefile", "makefile", "GNUmakefile", "OCamlMakefile" ],
|
||||
"firstLine": "^#!/usr/bin/make",
|
||||
"configuration": "./language-configuration.json"
|
||||
}],
|
||||
"grammars": [{
|
||||
|
@ -26,4 +27,4 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue