mirror of
https://github.com/scopatz/nanorc
synced 2024-11-22 08:35:39 +01:00
Fixed HTML related expressions
This commit is contained in:
parent
f9aabf3123
commit
b9b9b49d4f
@ -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…
Reference in New Issue
Block a user