My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Generic *.conf file syntax highlighting
#

syntax "conf" "\.(c(onf|nf|fg))$"

# string
icolor yellow ""(\\.|[^"])*""

# variable name & value
icolor brightyellow start="=" end="$"
icolor magenta start="(^|[[:space:]])[0-9a-z-]" end="="

# bracket/parenthesis
icolor brightred "(^|[[:space:]])((\[|\()[0-9a-z_!@#$%^&*-]+(\]|\)))"

# number
color green "[[:space:]][0-9.KM]+"

# comment
color cyan start="(^|[[:space:]])(#|;).*$" end="$"
color brightblue "(^|[[:space:]])(#|;)"

Change log

r2 by Lucractius on Oct 2, 2008   Diff
First Import of syntax files
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 478 bytes, 21 lines
Powered by Google Project Hosting