From d573d03ccf9441be4bf3dd3166b977ae000a7d13 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Wed, 18 Mar 2020 14:46:45 +1300 Subject: [PATCH] feat(js): add header regex --- js.nanorc | 1 + 1 file changed, 1 insertion(+) diff --git a/js.nanorc b/js.nanorc index 3d484ba..a986743 100644 --- a/js.nanorc +++ b/js.nanorc @@ -13,6 +13,7 @@ ## New updated taken from http://wiki.linuxhelp.net/index.php/Nano_Syntax_Highlighting syntax "JavaScript" "\.(js)$" +header "^#!.*\/(env +)node" comment "//" ## Default