1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-14 05:04:16 +01:00
nanorc/tex.nanorc

15 lines
366 B
Plaintext
Raw Normal View History

2010-07-29 00:15:43 +02:00
## Here is a short example for TeX files.
##
syntax "TeX" "\.tex$" "bib" "\.bib$" "cls" "\.cls$"
magic "(La)?TeX document"
comment "%"
linter chktex -v0 -q -I
color yellow "\$(\\\$|[^$])*[^\\]\$"
color yellow "\$\$(\\\$|[^$])*[^\\]\$\$"
2010-07-29 00:15:43 +02:00
icolor green "\\.|\\[A-Z]*"
2011-06-27 00:34:26 +02:00
color magenta "[{}]"
2010-07-29 00:15:43 +02:00
color blue "%.*"
color blue start="\\begin\{comment\}" end="\\end\{comment\}"