smol/syntax/tex.nanorc

12 lines
199 B
Plaintext
Raw Normal View History

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