1
0
mirror of https://github.com/scopatz/nanorc synced 2024-09-28 17:09:50 +02:00

Merge pull request #151 from esler/patch-1

highlight standard INI comments
This commit is contained in:
Anthony Scopatz 2017-05-25 10:46:28 -04:00 committed by GitHub
commit 5e776dfb59

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 " + +| + +"