19 lines
449 B
Plaintext
19 lines
449 B
Plaintext
syntax "conf" "\.c(onf|nf|fg)$"
|
|
|
|
# Strings
|
|
icolor yellow ""(\\.|[^"])*""
|
|
|
|
# Variable name and value
|
|
icolor brightyellow start="=" end="$"
|
|
icolor magenta start="^[[:space:]]*[0-9a-z-]" end="="
|
|
|
|
# Braces and parentheses
|
|
icolor brightred "(^|[[:space:]])((\[|\()[0-9a-z_!@#$%^&*-]+(\]|\)))"
|
|
|
|
# Numbers
|
|
icolor green "[[:space:]][0-9]+[0-9.]*[KMGT]*"
|
|
|
|
# Comments
|
|
color cyan start="(^|[[:space:]])(#|;).*$" end="$"
|
|
color brightblue "(^|[[:space:]])(#|;)"
|