1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-05 01:00:00 +01:00
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\}"