mirror of
git://git.sv.gnu.org/nano.git
synced 2025-02-19 06:44:44 +03:00

The different color will make the name stand out, as it should, instead of looking the same as all the regex strings.
11 lines
200 B
Plaintext
11 lines
200 B
Plaintext
## Here is a short example for TeX files.
|
|
|
|
syntax tex "\.tex$"
|
|
magic "(La)?TeX document"
|
|
linter chktex -v0 -q -I
|
|
comment "%"
|
|
|
|
icolor green "\\.|\\[A-Z]*"
|
|
color magenta "[{}]"
|
|
color blue "(^|[^\])%.*"
|