nanorc/tex.nanorc

10 lines
302 B
Plaintext
Raw Normal View History

2010-07-29 00:15:43 +02:00
## Here is a short example for TeX files.
##
syntax "TeX" "\.tex$" "bib" "\.bib$" "cls" "\.cls$"
color yellow "\$(\\\$|[^$])*[^\\]\$"
color yellow "\$\$(\\\$|[^$])*[^\\]\$\$"
2010-07-29 00:15:43 +02:00
icolor green "\\.|\\[A-Z]*"
2011-06-27 00:34:26 +02:00
color magenta "[{}]"
2010-07-29 00:15:43 +02:00
color blue "%.*"
color blue start="\\begin\{comment\}" end="\\end\{comment\}"