mirror of
https://github.com/scopatz/nanorc
synced 2024-11-22 00:25:39 +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.
|
||||
##
|
||||
syntax "TeX" "\.tex$" "bib" "\.bib$" "cls" "\.cls$"
|
||||
color yellow "\$[^$]*\$"
|
||||
color yellow "\$(\\\$|[^$])*[^\\]\$"
|
||||
color yellow "\$\$(\\\$|[^$])*[^\\]\$\$"
|
||||
icolor green "\\.|\\[A-Z]*"
|
||||
color magenta "[{}]"
|
||||
color blue "%.*"
|
||||
|
Loading…
Reference in New Issue
Block a user