view update-vendor @ 604:d4d316db35d7

Add latestest javascript
author nanaya <me@nanaya.pro>
date Fri, 21 Apr 2017 19:23:36 +0900
parents 283ebb842957
children 7ac088ee101a
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://bitbucket.org/vim-mirror/vim/raw/tip/runtime/syntax/eruby.vim
  _get https://bitbucket.org/vim-mirror/vim/raw/tip/runtime/syntax/json.vim
  _get https://bitbucket.org/vim-mirror/vim/raw/tip/runtime/syntax/less.vim
  _get https://bitbucket.org/vim-mirror/vim/raw/tip/runtime/syntax/ruby.vim
  _get https://bitbucket.org/vim-mirror/vim/raw/tip/runtime/syntax/scss.vim
  _get https://github.com/kchmck/vim-coffee-script/raw/master/syntax/coffee.vim
  _get https://github.com/slim-template/vim-slim/raw/master/syntax/slim.vim
  _get https://raw.githubusercontent.com/jwalton512/vim-blade/master/syntax/blade.vim
  _get http://hg.nginx.org/nginx/raw-file/tip/contrib/vim/syntax/nginx.vim
  _get https://raw.githubusercontent.com/jelera/vim-javascript-syntax/master/syntax/javascript.vim
)