mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07: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 changed files with 1 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
## PHP Syntax Highlighting
|
||||
syntax "PHP" "\.php[2345s~]?$|\.module$"
|
||||
header "^#!.*php"
|
||||
magic "PHP script"
|
||||
comment "//"
|
||||
color white start="<\?(php|=)?" end="\?>"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue