1
0
mirror of https://github.com/scopatz/nanorc synced 2024-09-21 05:56:00 +02:00
nanorc/tex.nanorc

15 lines
366 B
Plaintext

## 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 "\$\$(\\\$|[^$])*[^\\]\$\$"
icolor green "\\.|\\[A-Z]*"
color magenta "[{}]"
color blue "%.*"
color blue start="\\begin\{comment\}" end="\\end\{comment\}"