mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
Fixed HTML related expressions
This commit is contained in:
parent
f9aabf3123
commit
b9b9b49d4f
2 changed files with 5 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
syntax "Pug" "\.pug$"
|
syntax "Jade" "\.jade$"
|
||||||
# Elements
|
# Elements
|
||||||
color yellow "^\s*([a-z0-9]+)"
|
color yellow "^\s*([a-z0-9]+)"
|
||||||
# Main elements
|
# Main elements
|
||||||
|
|
@ -24,7 +24,8 @@ color ,green "[[:space:]]+$"
|
||||||
# Unbuffered comments
|
# Unbuffered comments
|
||||||
color brightblue "\s+(//-.*)"
|
color brightblue "\s+(//-.*)"
|
||||||
# HTML-style conditional comments
|
# HTML-style conditional comments
|
||||||
color brightmagenta "<!--(.*)>"
|
color brightmagenta start="<!" end="!>"
|
||||||
|
color brightmagenta "<!\[endif\]-->"
|
||||||
# HTML-style elements
|
# HTML-style elements
|
||||||
color yellow "<([^!].*)>"
|
color yellow "<([^!].*)>"
|
||||||
# Pipes
|
# Pipes
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,8 @@ color ,green "[[:space:]]+$"
|
||||||
# Unbuffered comments
|
# Unbuffered comments
|
||||||
color brightblue "\s+(//-.*)"
|
color brightblue "\s+(//-.*)"
|
||||||
# HTML-style conditional comments
|
# HTML-style conditional comments
|
||||||
color brightmagenta "<!--(.*)>"
|
color brightmagenta start="<!" end="!>"
|
||||||
|
color brightmagenta "<!\[endif\]-->"
|
||||||
# HTML-style elements
|
# HTML-style elements
|
||||||
color yellow "<([^!].*)>"
|
color yellow "<([^!].*)>"
|
||||||
# Pipes
|
# Pipes
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue