mirror of
https://github.com/scopatz/nanorc
synced 2024-11-22 00:25:39 +01:00
include PHP syntax highlighting for .module files (used by Drupal)
This commit is contained in:
parent
1d741c83ab
commit
a527805ceb
@ -1,5 +1,5 @@
|
|||||||
## PHP Syntax Highlighting
|
## PHP Syntax Highlighting
|
||||||
syntax "PHP" "\.php[2345s~]?$"
|
syntax "PHP" "\.php[2345s~]?$|\.module$"
|
||||||
magic "PHP script"
|
magic "PHP script"
|
||||||
comment "//"
|
comment "//"
|
||||||
color white start="<\?(php|=)?" end="\?>"
|
color white start="<\?(php|=)?" end="\?>"
|
||||||
|
Loading…
Reference in New Issue
Block a user