Skip to content

Commit

Permalink
Create jade.nanorc
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaDejanGrande committed Apr 27, 2019
1 parent a0ef481 commit f6f67e5
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions jade.nanorc
Original file line number Diff line number Diff line change
@@ -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)(.*)"

0 comments on commit f6f67e5

Please sign in to comment.