1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-01 07:10:00 +01: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\}"