1
0
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:
emidiostani 2020-02-05 12:48:21 +01:00
parent 1d741c83ab
commit a527805ceb

View File

@ -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="\?>"