1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-25 18:05:39 +01:00

Fixed HTML related expressions

This commit is contained in:
Andrea Dejan Grande 2019-04-28 03:44:03 +02:00
parent f9aabf3123
commit b9b9b49d4f
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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