mirror of
https://github.com/scopatz/nanorc
synced 2024-12-25 14:54:51 +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
|
||||
color yellow "^\s*([a-z0-9]+)"
|
||||
# Main elements
|
||||
|
@ -24,7 +24,8 @@ color ,green "[[:space:]]+$"
|
|||
# Unbuffered comments
|
||||
color brightblue "\s+(//-.*)"
|
||||
# HTML-style conditional comments
|
||||
color brightmagenta "<!--(.*)>"
|
||||
color brightmagenta start="<!" end="!>"
|
||||
color brightmagenta "<!\[endif\]-->"
|
||||
# HTML-style elements
|
||||
color yellow "<([^!].*)>"
|
||||
# Pipes
|
||||
|
|
|
@ -24,7 +24,8 @@ color ,green "[[:space:]]+$"
|
|||
# Unbuffered comments
|
||||
color brightblue "\s+(//-.*)"
|
||||
# HTML-style conditional comments
|
||||
color brightmagenta "<!--(.*)>"
|
||||
color brightmagenta start="<!" end="!>"
|
||||
color brightmagenta "<!\[endif\]-->"
|
||||
# HTML-style elements
|
||||
color yellow "<([^!].*)>"
|
||||
# Pipes
|
||||
|
|
Loading…
Reference in New Issue
Block a user