Advertisement
Guest User

Untitled

a guest
Sep 18th, 2011
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. # Generic *.conf file syntax highlighting
  2. #
  3.  
  4. syntax "conf" "\.(c(onf|nf|fg))$"
  5.  
  6. # string
  7. icolor yellow ""(\\.|[^"])*""
  8.  
  9. # variable name & value
  10. icolor brightyellow start="=" end="$"
  11. icolor magenta start="(^|[[:space:]])[0-9a-z-]" end="="
  12.  
  13. # bracket/parenthesis
  14. icolor brightred "(^|[[:space:]])((\[|\()[0-9a-z_!@#$%^&*-]+(\]|\)))"
  15.  
  16. # number
  17. color green "[[:space:]][0-9.KM]+"
  18.  
  19. # comment
  20. color cyan start="(^|[[:space:]])(#|;).*$" end="$"
  21. color brightblue "(^|[[:space:]])(#|;)"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement