Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
wget2.vim252 linesDownload Raw Back to syntax
1" Vim syntax file2" Language:	Wget2 configuration file (/etc/wget2rc ~/.wget2rc)3" Maintainer:	Doug Kearns <dougkearns@gmail.com>4" Last Change:	2026 Jan 075 6" GNU Wget2 2.2.1 - multithreaded metalink/file/website downloader7 8if exists("b:current_syntax")9  finish10endif11 12let s:cpo_save = &cpo13set cpo&vim14 15syn match wget2Comment "#.*" contains=wget2Todo contained16 17syn keyword wget2Todo TODO NOTE FIXME XXX contained18 19syn region wget2String start=+"+ skip=+\\\\\|\\"+ end=+"+ contained oneline20syn region wget2String start=+'+ skip=+\\\\\|\\'+ end=+'+ contained oneline21 22syn case ignore23 24syn keyword wget2Boolean on off yes no y n contained25syn keyword wget2Number	 infinity inf	   contained26syn match   wget2Number "\<\d\+>"	   contained27syn match   wget2Quota	"\<\d\+[kmgt]\>"   contained28syn match   wget2Time	"\<\d\+[smhd]\>"   contained29 30"{{{ Commands31let s:commands =<< trim EOL32  accept33  accept-regex34  adjust-extension35  append-output36  ask-password37  auth-no-challenge38  background39  backup-converted40  backups41  base42  bind-address43  bind-interface44  body-data45  body-file46  ca-certificate47  ca-directory48  cache49  certificate50  certificate-type51  check-certificate52  check-hostname53  chunk-size54  clobber55  compression56  config57  connect-timeout58  content-disposition59  content-on-error60  continue61  convert-file-only62  convert-links63  cookie-suffixes64  cookies65  crl-file66  cut-dirs67  cut-file-get-vars68  cut-url-get-vars69  dane70  debug71  default-http-port72  default-https-port73  default-page74  delete-after75  directories76  directory-prefix77  dns-cache78  dns-cache-preload79  dns-timeout80  domains81  download-attr82  egd-file83  exclude-directories84  exclude-domains85  execute86  filter-mime-type87  filter-urls88  follow-sitemaps89  follow-tags90  force-atom91  force-css92  force-directories93  force-html94  force-metalink95  force-progress96  force-rss97  force-sitemap98  fsync-policy99  gnupg-homedir100  header101  help102  host-directories103  hpkp104  hpkp-file105  hsts106  hsts-file107  hsts-preload108  hsts-preload-file109  html-extension110  http-keep-alive111  http-password112  http-proxy113  http-proxy-password114  http-proxy-user115  http-user116  http2117  http2-only118  http2-request-window119  https-enforce120  https-only121  https-proxy122  hyperlink123  if-modified-since124  ignore-case125  ignore-length126  ignore-tags127  include-directories128  inet4-only129  inet6-only130  input-encoding131  input-file132  keep-extension133  keep-session-cookies134  level135  limit-rate136  list-plugins137  load-cookies138  local-db139  local-encoding140  local-plugin141  max-redirect142  max-threads143  metalink144  method145  mirror146  netrc147  netrc-file148  ocsp149  ocsp-date150  ocsp-file151  ocsp-nonce152  ocsp-server153  ocsp-stapling154  output-document155  output-file156  page-requisites157  parent158  password159  plugin160  plugin-dirs161  plugin-help162  plugin-opt163  post-data164  post-file165  prefer-family166  private-key167  private-key-type168  progress169  protocol-directories170  proxy171  quiet172  quota173  random-file174  random-wait175  read-timeout176  recursive177  referer178  regex-type179  reject180  reject-regex181  remote-encoding182  report-speed183  restrict-file-names184  retry-connrefused185  retry-on-http-error186  robots187  save-content-on188  save-cookies189  save-headers190  secure-protocol191  server-response192  show-progress193  signature-extensions194  span-hosts195  spider196  start-pos197  stats-dns198  stats-ocsp199  stats-server200  stats-site201  stats-tls202  strict-comments203  tcp-fastopen204  timeout205  timestamping206  tls-false-start207  tls-resume208  tls-session-file209  tries210  trust-server-names211  unlink212  use-askpass213  use-server-timestamps214  user215  user-agent216  verbose217  verify-save-failed218  verify-sig219  version220  wait221  waitretry222  xattr223EOL224"}}}225 226for cmd in s:commands227  exe 'syn match wget2Command "\<\%(no[-_]\)\=' .. substitute(cmd, '-', '[-_]\\=', "g") .. '\>" nextgroup=wget2AssignmentOperator skipwhite contained'228endfor229unlet s:commands230 231syn case match232 233syn match wget2LineStart	  "^" nextgroup=wget2Command,wget2Comment skipwhite234syn match wget2AssignmentOperator "=" nextgroup=wget2String,wget2Boolean,wget2Number,wget2Quota,wget2Time skipwhite contained235 236hi def link wget2AssignmentOperator Special237hi def link wget2Boolean	    Boolean238hi def link wget2Command	    Identifier239hi def link wget2Comment	    Comment240hi def link wget2Number		    Number241hi def link wget2Quota		    Number242hi def link wget2String		    String243hi def link wget2Time		    Number244hi def link wget2Todo		    Todo245 246let b:current_syntax = "wget2"247 248let &cpo = s:cpo_save249unlet s:cpo_save250 251" vim: ts=8 fdm=marker:252 
codekingpro/portable-devtools · Team Ai