mirror of
https://github.com/scopatz/nanorc
synced 2024-11-05 01:00:00 +01:00
c56fc9eeed
Fixed problem with highlighting when $$displaymode$$ is used.
10 lines
302 B
Plaintext
10 lines
302 B
Plaintext
## Here is a short example for TeX files.
|
|
##
|
|
syntax "TeX" "\.tex$" "bib" "\.bib$" "cls" "\.cls$"
|
|
color yellow "\$(\\\$|[^$])*[^\\]\$"
|
|
color yellow "\$\$(\\\$|[^$])*[^\\]\$\$"
|
|
icolor green "\\.|\\[A-Z]*"
|
|
color magenta "[{}]"
|
|
color blue "%.*"
|
|
color blue start="\\begin\{comment\}" end="\\end\{comment\}"
|