smol/syntax/tex.nanorc

11 lines
202 B
Plaintext

## Here is a short example for TeX files.
syntax tex "\.tex$"
magic "(La)?TeX document"
linter chktex -v0 -q -I
comment "%"
color green "\\.|\\[A-Za-z]*"
color magenta "[{}]"
color blue "(^|[^\])%.*"