Added matching for shebang headers like #!/bin/php

Should also match:
#!/usr/bin/env php
#!php
This commit is contained in:
bravoman 2022-01-03 14:27:48 +01:00 committed by GitHub
parent 1fd3bb55f0
commit 245a24b101
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
## PHP Syntax Highlighting
syntax "PHP" "\.php[2345s~]?$|\.module$"
header "^#!.*php"
magic "PHP script"
comment "//"
color white start="<\?(php|=)?" end="\?>"