aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Micklas2023-09-26 20:19:24 +0000
committerGitHub2023-09-26 20:19:24 +0000
commit0c879d4edcd8644475f4fa809af2d9aaf6959eb0 (patch)
tree53f3fbdb75f25ab5bc3dfc253ef8c858e31cbaad
parent080a085fa796fe2b71b5932b704d465695fba824 (diff)
Add shebangs for Makefiles (#8410)
For example, this is standard for Debian rules files: https://www.debian.org/doc/manuals/maint-guide/dreq.en.html#defaultrules
-rw-r--r--languages.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index 7b249fc6..c12c4e82 100644
--- a/languages.toml
+++ b/languages.toml
@@ -1087,6 +1087,7 @@ source = { git = "https://github.com/uyha/tree-sitter-cmake", rev = "6e51463ef30
name = "make"
scope = "source.make"
file-types = ["Makefile", "makefile", "make", "mk"]
+shebangs = ["make", "gmake"]
injection-regex = "(make|makefile|Makefile|mk)"
roots = []
comment-token = "#"