1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-21 16:15:40 +01:00

Update tex.nanorc

Fixed problem with highlighting when $$displaymode$$ is used.
This commit is contained in:
CoffeeTableEnnui 2016-08-28 21:39:10 -07:00 committed by GitHub
parent f78e3b8baf
commit c56fc9eeed

View File

@ -1,7 +1,8 @@
## Here is a short example for TeX files.
##
syntax "TeX" "\.tex$" "bib" "\.bib$" "cls" "\.cls$"
color yellow "\$[^$]*\$"
color yellow "\$(\\\$|[^$])*[^\\]\$"
color yellow "\$\$(\\\$|[^$])*[^\\]\$\$"
icolor green "\\.|\\[A-Z]*"
color magenta "[{}]"
color blue "%.*"