From f6f67e5b4d74e95e9d0c2d63aaafb6afbb3d8f4b Mon Sep 17 00:00:00 2001 From: Andrea Dejan Grande Date: Sat, 27 Apr 2019 23:20:08 +0200 Subject: [PATCH] Create jade.nanorc --- jade.nanorc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 jade.nanorc diff --git a/jade.nanorc b/jade.nanorc new file mode 100644 index 0000000..7913753 --- /dev/null +++ b/jade.nanorc @@ -0,0 +1,19 @@ +syntax "Jade" "\.jade$" +# Elements +color yellow "^\s*([a-z0-9]+)" +# Main elements +color red "^\s*(html|head|body)" +# Parenthesis content +color blue "\((.*?)\)" +# Strings +color cyan "('[^']*')|(\"[^\"]*\")" +# Parenthesis, commas, equals +icolor green "\(" "\)" "\," "\=" +# Comments and spaces +color blue "//.*" +color blue start="/\*" end="\*/" +color ,green "[[:space:]]+$" +# Pipes +color yellow,magenta "\|" +# Doctype +color brightblack "^\s*(doctype)(.*)"