Added unbuffered comments

This commit is contained in:
Andrea Dejan Grande 2019-04-28 03:34:56 +02:00
parent 40e9bbd4d3
commit f9aabf3123
2 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
syntax "Jade" "\.jade$"
syntax "Pug" "\.pug$"
# Elements
color yellow "^\s*([a-z0-9]+)"
# Main elements
@ -21,6 +21,8 @@ icolor green "\(" "\)" "\," "\="
color blue "\s+(//.*)"
color blue start="/\*" end="\*/"
color ,green "[[:space:]]+$"
# Unbuffered comments
color brightblue "\s+(//-.*)"
# HTML-style conditional comments
color brightmagenta "<!--(.*)>"
# HTML-style elements

View File

@ -21,6 +21,8 @@ icolor green "\(" "\)" "\," "\="
color blue "\s+(//.*)"
color blue start="/\*" end="\*/"
color ,green "[[:space:]]+$"
# Unbuffered comments
color brightblue "\s+(//-.*)"
# HTML-style conditional comments
color brightmagenta "<!--(.*)>"
# HTML-style elements