1
1
nano/syntax/tex.nanorc
Benno Schulenberg 302ea79d1c syntaxes: put the 'linter' and 'formatter' commands on a separate line
To show that they are a different class of thing than the file-matching
regexes and the comment thing, which all kind of "describe" the file.
2019-11-04 20:56:41 +02:00

12 строки
203 B
Plaintext

## Here is a short example 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 "(^|[^\])%.*"