diff --git a/news/1 Enhancements/3892.md b/news/1 Enhancements/3892.md new file mode 100644 index 000000000000..ee19a1359020 --- /dev/null +++ b/news/1 Enhancements/3892.md @@ -0,0 +1,2 @@ +Use firstLine to activate syntax highlinging for files without extensions +(thanks to [Christopher Gahlon](https://github.com/cgahlon/)) diff --git a/package.json b/package.json index 50051298cd19..4e0f77332e1b 100644 --- a/package.json +++ b/package.json @@ -1699,6 +1699,7 @@ }, "languages": [ { + "firstLine": "^#!/.*\\bpython[0-9.-]*\\b", "id": "pip-requirements", "aliases": [ "pip requirements",