From b9b9b49d4fa7302e92bac7893f9816d9f0cccfab Mon Sep 17 00:00:00 2001 From: Andrea Dejan Grande Date: Sun, 28 Apr 2019 03:44:03 +0200 Subject: [PATCH] Fixed HTML related expressions --- jade.nanorc | 5 +++-- pug.nanorc | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/jade.nanorc b/jade.nanorc index 3d7e6d9..e372fbe 100644 --- a/jade.nanorc +++ b/jade.nanorc @@ -1,4 +1,4 @@ -syntax "Pug" "\.pug$" +syntax "Jade" "\.jade$" # Elements color yellow "^\s*([a-z0-9]+)" # Main elements @@ -24,7 +24,8 @@ color ,green "[[:space:]]+$" # Unbuffered comments color brightblue "\s+(//-.*)" # HTML-style conditional comments -color brightmagenta "" # HTML-style elements color yellow "<([^!].*)>" # Pipes diff --git a/pug.nanorc b/pug.nanorc index 3d7e6d9..16cda23 100644 --- a/pug.nanorc +++ b/pug.nanorc @@ -24,7 +24,8 @@ color ,green "[[:space:]]+$" # Unbuffered comments color brightblue "\s+(//-.*)" # HTML-style conditional comments -color brightmagenta "" # HTML-style elements color yellow "<([^!].*)>" # Pipes