1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-22 08:35:39 +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\}"