nanorc/tex.nanorc
CoffeeTableEnnui c56fc9eeed Update tex.nanorc
Fixed problem with highlighting when $$displaymode$$ is used.
2016-08-28 21:39:10 -07:00

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\}"