mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
Added HTML support
This commit is contained in:
parent
944dc422ab
commit
40e9bbd4d3
2 changed files with 10 additions and 2 deletions
|
|
@ -18,9 +18,13 @@ color cyan "('[^']*')|(\"[^\"]*\")"
|
||||||
# Parenthesis, commas, equals
|
# Parenthesis, commas, equals
|
||||||
icolor green "\(" "\)" "\," "\="
|
icolor green "\(" "\)" "\," "\="
|
||||||
# Comments and spaces
|
# Comments and spaces
|
||||||
color blue "//.*"
|
color blue "\s+(//.*)"
|
||||||
color blue start="/\*" end="\*/"
|
color blue start="/\*" end="\*/"
|
||||||
color ,green "[[:space:]]+$"
|
color ,green "[[:space:]]+$"
|
||||||
|
# HTML-style conditional comments
|
||||||
|
color brightmagenta "<!--(.*)>"
|
||||||
|
# HTML-style elements
|
||||||
|
color yellow "<([^!].*)>"
|
||||||
# Pipes
|
# Pipes
|
||||||
color yellow,magenta "\|"
|
color yellow,magenta "\|"
|
||||||
# Doctype
|
# Doctype
|
||||||
|
|
|
||||||
|
|
@ -18,9 +18,13 @@ color cyan "('[^']*')|(\"[^\"]*\")"
|
||||||
# Parenthesis, commas, equals
|
# Parenthesis, commas, equals
|
||||||
icolor green "\(" "\)" "\," "\="
|
icolor green "\(" "\)" "\," "\="
|
||||||
# Comments and spaces
|
# Comments and spaces
|
||||||
color blue "//.*"
|
color blue "\s+(//.*)"
|
||||||
color blue start="/\*" end="\*/"
|
color blue start="/\*" end="\*/"
|
||||||
color ,green "[[:space:]]+$"
|
color ,green "[[:space:]]+$"
|
||||||
|
# HTML-style conditional comments
|
||||||
|
color brightmagenta "<!--(.*)>"
|
||||||
|
# HTML-style elements
|
||||||
|
color yellow "<([^!].*)>"
|
||||||
# Pipes
|
# Pipes
|
||||||
color yellow,magenta "\|"
|
color yellow,magenta "\|"
|
||||||
# Doctype
|
# Doctype
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue