mirror of
https://github.com/scopatz/nanorc
synced 2024-11-22 00:25:39 +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
12 lines
401 B
Plaintext
12 lines
401 B
Plaintext
syntax "INI" "\.(ini|desktop|lfl|override)$" "(mimeapps\.list|pinforc|setup\.cfg)$" "weechat/.+\.conf$"
|
|
header "^\[[A-Za-z]+\]$"
|
|
|
|
color brightcyan "\<(true|false)\>"
|
|
color cyan "^[[:space:]]*[^=]*="
|
|
color brightmagenta "^[[:space:]]*\[.*\]$"
|
|
color red "[=;]"
|
|
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
|
color brightblack "(^|[[:space:]])#([^{].*)?$"
|
|
color ,green "[[:space:]]+$"
|
|
color ,red " + +| + +"
|