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

Added HTML support

This commit is contained in:
Andrea Dejan Grande 2019-04-28 03:31:07 +02:00
parent 944dc422ab
commit 40e9bbd4d3
2 changed files with 10 additions and 2 deletions

View File

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

View File

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