mirror of
https://github.com/scopatz/nanorc
synced 2024-11-23 19:00:27 +01:00
Added matching for shebang headers like #!/bin/php
Should also match: #!/usr/bin/env php #!php
This commit is contained in:
parent
1fd3bb55f0
commit
245a24b101
|
@ -1,5 +1,6 @@
|
|||
## PHP Syntax Highlighting
|
||||
syntax "PHP" "\.php[2345s~]?$|\.module$"
|
||||
header "^#!.*php"
|
||||
magic "PHP script"
|
||||
comment "//"
|
||||
color white start="<\?(php|=)?" end="\?>"
|
||||
|
|
Loading…
Reference in New Issue
Block a user