mirror of
https://github.com/scopatz/nanorc
synced 2025-04-05 05:20:08 +02:00
Merge 245a24b10143ba6afce96e72e4460a5f9f9bf535 into 1aa64a86cf4c750e4d4788ef1a19d7a71ab641dd
This commit is contained in:
commit
97739ae634
@ -1,5 +1,5 @@
|
|||||||
## Make /etc/hosts nicer to read, see `man hosts 5` to see the format
|
## Make /etc/hosts nicer to read, see `man hosts 5` to see the format
|
||||||
syntax "/etc/hosts" "hosts"
|
syntax "/etc/hosts" "^/etc/hosts$"
|
||||||
|
|
||||||
# IPv4
|
# IPv4
|
||||||
color yellow "^[0-9\.]+\s"
|
color yellow "^[0-9\.]+\s"
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
## PHP Syntax Highlighting
|
## PHP Syntax Highlighting
|
||||||
syntax "PHP" "\.php[2345s~]?$|\.module$"
|
syntax "PHP" "\.php[2345s~]?$|\.module$"
|
||||||
|
header "^#!.*php"
|
||||||
magic "PHP script"
|
magic "PHP script"
|
||||||
comment "//"
|
comment "//"
|
||||||
color white start="<\?(php|=)?" end="\?>"
|
color white start="<\?(php|=)?" end="\?>"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user