mirror of
https://github.com/scopatz/nanorc
synced 2024-11-23 19:00:27 +01:00
Update tex.nanorc
Fixed problem with highlighting when $$displaymode$$ is used.
This commit is contained in:
parent
f78e3b8baf
commit
c56fc9eeed
|
@ -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 "%.*"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user