view update-vim-syntax @ 521:fb2d37acca81

Reducing bashism.
author edogawaconan <me@myconan.net>
date Wed, 18 Jun 2014 16:08:22 +0900
parents bbcffc594d1e
children f5b6dba3308b
line wrap: on
line source

#!/bin/sh

if [ ! command -v wget > /dev/null 2>&1 ]; then
  echo wget is required
  exit 1
fi

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

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

rm -f *.vim
_get https://vim.googlecode.com/hg/runtime/syntax/ruby.vim
_get https://vim.googlecode.com/hg/runtime/syntax/eruby.vim
_get https://vim.googlecode.com/hg/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://github.com/elzr/vim-json/raw/master/syntax/json.vim