Skip to content

Commit

Permalink
Added HTML support
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaDejanGrande committed Apr 28, 2019
1 parent 944dc42 commit 40e9bbd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion jade.nanorc
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,13 @@ color cyan "('[^']*')|(\"[^\"]*\")"
# Parenthesis, commas, equals
icolor green "\(" "\)" "\," "\="
# Comments and spaces
color blue "//.*"
color blue "\s+(//.*)"
color blue start="/\*" end="\*/"
color ,green "[[:space:]]+$"
# HTML-style conditional comments
color brightmagenta "<!--(.*)>"
# HTML-style elements
color yellow "<([^!].*)>"
# Pipes
color yellow,magenta "\|"
# Doctype
Expand Down
6 changes: 5 additions & 1 deletion pug.nanorc
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,13 @@ color cyan "('[^']*')|(\"[^\"]*\")"
# Parenthesis, commas, equals
icolor green "\(" "\)" "\," "\="
# Comments and spaces
color blue "//.*"
color blue "\s+(//.*)"
color blue start="/\*" end="\*/"
color ,green "[[:space:]]+$"
# HTML-style conditional comments
color brightmagenta "<!--(.*)>"
# HTML-style elements
color yellow "<([^!].*)>"
# Pipes
color yellow,magenta "\|"
# Doctype
Expand Down

0 comments on commit 40e9bbd

Please sign in to comment.