1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-22 08:35:39 +01:00

highlight standard comments

lines starting with `;` are comments, see https://en.wikipedia.org/wiki/INI_file#Comments
This commit is contained in:
esler 2017-05-25 13:35:02 +02:00 committed by GitHub
parent b394ee16e1
commit 42997309b6

View File

@ -6,6 +6,6 @@ color cyan "^[[:space:]]*[^=]*="
color brightmagenta "^[[:space:]]*\[.*\]$" color brightmagenta "^[[:space:]]*\[.*\]$"
color red "[=;]" color red "[=;]"
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'" color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
color brightblack "(^|[[:space:]])#([^{].*)?$" color brightblack "(^|[[:space:]])(#([^{].*)?|;.*)$"
color ,green "[[:space:]]+$" color ,green "[[:space:]]+$"
color ,red " + +| + +" color ,red " + +| + +"