Update tex.nanorc
Fixed problem with highlighting when $$displaymode$$ is used.
This commit is contained in:
+2
-1
@@ -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 "%.*"
|
||||
|
||||
Reference in New Issue
Block a user