Skip to content

Commit

Permalink
Merge pull request #283 from EmidioStani/master
Browse files Browse the repository at this point in the history
include PHP syntax highlighting for .module files (used by Drupal)
  • Loading branch information
scopatz committed Feb 5, 2020
2 parents 1d741c8 + a527805 commit 195b8b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php.nanorc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## PHP Syntax Highlighting
syntax "PHP" "\.php[2345s~]?$"
syntax "PHP" "\.php[2345s~]?$|\.module$"
magic "PHP script"
comment "//"
color white start="<\?(php|=)?" end="\?>"
Expand Down

0 comments on commit 195b8b2

Please sign in to comment.