mirror of
https://https.git.savannah.gnu.org/git/nano.git
synced 2026-01-27 01:44:33 +00:00
In some locales certain normal ASCII characters are not included in the ranges [A-Z] and [a-z]. So, use [[:upper:]] and [[:lower:]] instead, and [[:alpha:]] for [A-Za-z], and similarly for others. This fixes https://savannah.gnu.org/bugs/?67094.
12 lines
202 B
Plaintext
12 lines
202 B
Plaintext
## Syntax highlighting for TeX files.
|
|
|
|
syntax tex "\.tex$"
|
|
magic "(La)?TeX document"
|
|
comment "%"
|
|
|
|
linter chktex -v0 -q -I
|
|
|
|
color green "\\.|\\[[:alpha:]]*"
|
|
color magenta "[{}]"
|
|
color blue "(^|[^\])%.*"
|