1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-22 08:35:39 +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. ## Here is a short example for TeX files.
## ##
syntax "TeX" "\.tex$" "bib" "\.bib$" "cls" "\.cls$" syntax "TeX" "\.tex$" "bib" "\.bib$" "cls" "\.cls$"
color yellow "\$[^$]*\$" color yellow "\$(\\\$|[^$])*[^\\]\$"
color yellow "\$\$(\\\$|[^$])*[^\\]\$\$"
icolor green "\\.|\\[A-Z]*" icolor green "\\.|\\[A-Z]*"
color magenta "[{}]" color magenta "[{}]"
color blue "%.*" color blue "%.*"