mirror of
https://github.com/scopatz/nanorc
synced 2024-11-23 19:00:27 +01:00
bba53c3940
Duplicate syntax definition names may cause problems. Since nano comes with predefined all-lowercase syntax definitions, we use uppercase letters everywhere to reduce the risk of future conflicts
9 lines
249 B
Plaintext
9 lines
249 B
Plaintext
## Here is a short example for TeX files.
|
|
##
|
|
syntax "TeX" "\.tex$" "bib" "\.bib$" "cls" "\.cls$"
|
|
color yellow "\$[^$]*\$"
|
|
icolor green "\\.|\\[A-Z]*"
|
|
color magenta "[{}]"
|
|
color blue "%.*"
|
|
color blue start="\\begin\{comment\}" end="\\end\{comment\}"
|