mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
Update tex.nanorc
Fixed problem with highlighting when $$displaymode$$ is used.
This commit is contained in:
parent
f78e3b8baf
commit
c56fc9eeed
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue