From a527805ceba312f6c6bf4287a6c8cae5e5eaee70 Mon Sep 17 00:00:00 2001 From: emidiostani Date: Wed, 5 Feb 2020 12:48:21 +0100 Subject: [PATCH] include PHP syntax highlighting for .module files (used by Drupal) --- php.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php.nanorc b/php.nanorc index e9e2959..33f6f9a 100644 --- a/php.nanorc +++ b/php.nanorc @@ -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="\?>"