mirror of
https://github.com/scopatz/nanorc
synced 2024-11-22 16:45:40 +01:00
highlight standard comments
lines starting with `;` are comments, see https://en.wikipedia.org/wiki/INI_file#Comments
This commit is contained in:
parent
b394ee16e1
commit
42997309b6
@ -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 " + +| + +"
|
||||||
|
Loading…
Reference in New Issue
Block a user