1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-22 16:45:40 +01:00

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 # Elements
color yellow "^\s*([a-z0-9]+)" color yellow "^\s*([a-z0-9]+)"
# Main elements # Main elements
@ -21,6 +21,8 @@ icolor green "\(" "\)" "\," "\="
color blue "\s+(//.*)" color blue "\s+(//.*)"
color blue start="/\*" end="\*/" color blue start="/\*" end="\*/"
color ,green "[[:space:]]+$" color ,green "[[:space:]]+$"
# Unbuffered comments
color brightblue "\s+(//-.*)"
# HTML-style conditional comments # HTML-style conditional comments
color brightmagenta "<!--(.*)>" color brightmagenta "<!--(.*)>"
# HTML-style elements # HTML-style elements

View File

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