From f9aabf3123ff7a8e32cbd1926ce9e0d0d1588571 Mon Sep 17 00:00:00 2001 From: Andrea Dejan Grande Date: Sun, 28 Apr 2019 03:34:56 +0200 Subject: [PATCH] Added unbuffered comments --- jade.nanorc | 4 +++- pug.nanorc | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/jade.nanorc b/jade.nanorc index e4bb6ea..3d7e6d9 100644 --- a/jade.nanorc +++ b/jade.nanorc @@ -1,4 +1,4 @@ -syntax "Jade" "\.jade$" +syntax "Pug" "\.pug$" # Elements color yellow "^\s*([a-z0-9]+)" # Main elements @@ -21,6 +21,8 @@ icolor green "\(" "\)" "\," "\=" color blue "\s+(//.*)" color blue start="/\*" end="\*/" color ,green "[[:space:]]+$" +# Unbuffered comments +color brightblue "\s+(//-.*)" # HTML-style conditional comments color brightmagenta "