forked from serialhex/nano-highlight
-
Notifications
You must be signed in to change notification settings - Fork 0
/
privoxy.nanorc
34 lines (24 loc) · 1.25 KB
/
privoxy.nanorc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
syntax "privoxycfg" "(\.|/)privoxy/config$"
color brightwhite "[0-9]"
color cyan "^[[:space:]]*[.a-z0-9-]*"
color brightgreen "\ 1"
color brightwhite "1[0-9]"
color brightblue "\ \/.*$"
color brightred "\ 0"
color magenta "http:.*$"
## Important config settings
color yellow "(listen-address|forward|accept-intercepted-requests)"
## Comments
color green "#.*$"
syntax "privoxyaction" "(\.|/).action$"
color brightyellow start="\{" end="\}"
color cyan "(\+|\-)(add-header|block|client-header-(filter|tagger)|content-type-overwrite|crunch-(client-header|if-none-match|server-header))"
color cyan "(\+|\-)(deanimate-gifs|downgrade-http-version|fast-redirects|filter|force-text-mode|forward-override|handle-as-empty-document)"
color cyan "(\+|\-)(hide-(accept-language|content-disposition|forwarded-for-headers|from-header|if-modified-since|refe(r|rr)er|user-agent))"
color cyan "(\+|\-)(handle-as-image|inspect-jpegs|limit-connect|overwrite-last-modified|prevent-compression|server-header-(filter|tagger))"
color cyan "(\+|\-)(session-cookies-only|set-image-blocker|crunch-(outgoing|incoming)-cookies|kill-popups|redirect|send(-|-vanilla-)wafer)"
color yellow "\{\{(settings|alias)\}\}"
## Comments
color green "#.*$"
color brightwhite "##.*$"
color brightgreen "#-.*$"