view update-vendor @ 653:1fb1c9cd3755

Remove incorrect wildcard
author nanaya <me@nanaya.pro>
date Fri, 23 Apr 2021 13:03:29 +0900
parents 5bd223d5a97f
children 56ac9d97d81b
line wrap: on
line source

#!/bin/sh

set -u
set -e


if command -v wget > /dev/null 2>&1; then :
else
  echo wget is required
  exit 1
fi


_get() {
  wget --no-check-certificate -nv "$1"
}


(
  cd "$(dirname "$0")/vendor/vim-autoload"

  rm -f *.vim
  _get "https://raw.githubusercontent.com/tpope/vim-pathogen/master/autoload/pathogen.vim"
)


(
  cd "$(dirname "$0")/vendor/vim-syntax"

  rm -f *.vim
  _get https://hg.nginx.org/nginx/raw-file/tip/contrib/vim/syntax/nginx.vim
  _get https://raw.githubusercontent.com/jwalton512/vim-blade/master/syntax/blade.vim
  _get https://raw.githubusercontent.com/kchmck/vim-coffee-script/master/syntax/coffee.vim
  _get https://raw.githubusercontent.com/leafgarland/typescript-vim/master/syntax/typescript.vim
  _get https://raw.githubusercontent.com/slim-template/vim-slim/master/syntax/slim.vim
  _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/css.vim
  _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/eruby.vim
  _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/javascript.vim
  _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/json.vim
  _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/less.vim
  _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/ruby.vim
  _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/scss.vim

  # kinda shit (2020-09-16)
  # _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/typescript.vim
  # _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/typescriptcommon.vim
  # _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/typescriptreact.vim
)