]> git.lizzy.rs Git - micro.git/blob - runtime/syntax/privoxy-action.yaml
Merge branch 'python-highlight-zero' of https://github.com/a11ce/micro into a11ce...
[micro.git] / runtime / syntax / privoxy-action.yaml
1 filetype: privoxy-action
2
3 detect: 
4     filename: "\\.action$"
5
6 rules:
7     - constant.bool.false: "[{[:space:]]\\-block([[:space:]{}]|$)"
8     - constant.bool.true: "[{[:space:]]\\+block([[:space:]{}]|$)"
9     - constant.bool.false: "-(add-header|change-x-forwarded-for|client-header-filter|client-header-tagger|content-type-overwrite|crunch-client-header|crunch-if-none-match|crunch-incoming-cookies|crunch-outgoing-cookies|crunch-server-header|deanimate-gifs|downgrade-http-version|fast-redirects|filter|force-text-mode|forward-override|handle-as-empty-document|handle-as-image|hide-accept-language|hide-content-disposition|hide-from-header|hide-if-modified-since|hide-referrer|hide-user-agent|limit-connect|overwrite-last-modified|prevent-compression|redirect|server-header-filter|server-header-tagger|session-cookies-only|set-image-blocker)"
10     - constant.bool.true: "\\+(add-header|change-x-forwarded-for|client-header-filter|client-header-tagger|content-type-overwrite|crunch-client-header|crunch-if-none-match|crunch-incoming-cookies|crunch-outgoing-cookies|crunch-server-header|deanimate-gifs|downgrade-http-version|fast-redirects|filter|force-text-mode|forward-override|handle-as-empty-document|handle-as-image|hide-accept-language|hide-content-disposition|hide-from-header|hide-if-modified-since|hide-referrer|hide-user-agent|limit-connect|overwrite-last-modified|prevent-compression|redirect|server-header-filter|server-header-tagger|session-cookies-only|set-image-blocker)"
11     - constant.specialChar: "\\\\.?"
12     - comment: "(^|[[:space:]])#([^{].*)?$"
13     - indent-char.whitespace: "[[:space:]]+$"
14     - indent-char: "    + +| +  +"