From 40e9bbd4d3b48b4c37828b87d1f951c243ab223c Mon Sep 17 00:00:00 2001 From: Andrea Dejan Grande Date: Sun, 28 Apr 2019 03:31:07 +0200 Subject: [PATCH] Added HTML support --- jade.nanorc | 6 +++++- pug.nanorc | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/jade.nanorc b/jade.nanorc index 032d9fa8..e4bb6ea3 100644 --- a/jade.nanorc +++ b/jade.nanorc @@ -18,9 +18,13 @@ color cyan "('[^']*')|(\"[^\"]*\")" # Parenthesis, commas, equals icolor green "\(" "\)" "\," "\=" # Comments and spaces -color blue "//.*" +color blue "\s+(//.*)" color blue start="/\*" end="\*/" color ,green "[[:space:]]+$" +# HTML-style conditional comments +color brightmagenta "