mirror of
https://github.com/scopatz/nanorc
synced 2024-12-26 15:14:51 +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\}"
|