mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
lines starting with `;` are comments, see https://en.wikipedia.org/wiki/INI_file#Comments
11 lines
407 B
Text
11 lines
407 B
Text
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 " + +| + +"
|