2010-07-29 00:15:43 +02:00
|
|
|
## Here is a short example for TeX files.
|
|
|
|
##
|
2016-03-02 20:49:58 +01:00
|
|
|
syntax "TeX" "\.tex$" "bib" "\.bib$" "cls" "\.cls$"
|
2019-12-18 17:20:31 +01:00
|
|
|
magic "(La)?TeX document"
|
2019-12-18 17:13:13 +01:00
|
|
|
comment "%"
|
|
|
|
|
2019-12-18 17:20:31 +01:00
|
|
|
linter chktex -v0 -q -I
|
|
|
|
|
2016-08-29 06:39:10 +02:00
|
|
|
color yellow "\$(\\\$|[^$])*[^\\]\$"
|
|
|
|
color yellow "\$\$(\\\$|[^$])*[^\\]\$\$"
|
2010-07-29 00:15:43 +02:00
|
|
|
icolor green "\\.|\\[A-Z]*"
|
2011-06-27 00:34:26 +02:00
|
|
|
color magenta "[{}]"
|
2010-07-29 00:15:43 +02:00
|
|
|
color blue "%.*"
|
|
|
|
color blue start="\\begin\{comment\}" end="\\end\{comment\}"
|