未验证 提交 cabc8385 编写于 作者: D David Lechner 提交者: GitHub

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.
上级 099025d9
......@@ -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 @@
}
}
}
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册