mirror of
https://github.com/scopatz/nanorc
synced 2024-12-25 14:54:51 +01:00
Create jade.nanorc
This commit is contained in:
parent
a0ef4815e9
commit
f6f67e5b4d
19
jade.nanorc
Normal file
19
jade.nanorc
Normal file
|
@ -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)(.*)"
|
Loading…
Reference in New Issue
Block a user