From a0ef4815e9febbc47b780f0c3f9286b4a9ded4bb Mon Sep 17 00:00:00 2001 From: Andrea Dejan Grande Date: Sat, 27 Apr 2019 23:19:34 +0200 Subject: [PATCH] Create pug.nanorc --- pug.nanorc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pug.nanorc diff --git a/pug.nanorc b/pug.nanorc new file mode 100644 index 0000000..3b97519 --- /dev/null +++ b/pug.nanorc @@ -0,0 +1,19 @@ +syntax "Pug" "\.pug$" +# 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)(.*)"