mirror of
https://github.com/scopatz/nanorc
synced 2024-12-27 23:44:52 +01:00
15 lines
366 B
Plaintext
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\}"
|