Mercurial > ec-dotfiles
comparison update-vendor @ 572:a163d6875651
Vendor autoloads.
| author | nanaya <me@myconan.net> |
|---|---|
| date | Wed, 24 Jun 2015 13:41:51 +0900 |
| parents | update-vim-syntax@50fd59a959ea |
| children | 184635b813e1 |
comparison
equal
deleted
inserted
replaced
| 571:9e936a929c2d | 572:a163d6875651 |
|---|---|
| 1 #!/bin/sh | |
| 2 | |
| 3 set -u | |
| 4 set -e | |
| 5 | |
| 6 | |
| 7 if [ ! command -v wget > /dev/null 2>&1 ]; then | |
| 8 echo wget is required | |
| 9 exit 1 | |
| 10 fi | |
| 11 | |
| 12 | |
| 13 _get() { | |
| 14 wget --no-check-certificate -nv "$1" | |
| 15 } | |
| 16 | |
| 17 | |
| 18 ( | |
| 19 cd "$(dirname "$0")/vendor/vim-autoload" | |
| 20 | |
| 21 rm -f *.vim | |
| 22 _get "https://raw.githubusercontent.com/tpope/vim-pathogen/master/autoload/pathogen.vim" | |
| 23 ) | |
| 24 | |
| 25 | |
| 26 ( | |
| 27 cd "$(dirname "$0")/vendor/vim-syntax" | |
| 28 | |
| 29 rm -f *.vim | |
| 30 _get https://vim.googlecode.com/hg/runtime/syntax/ruby.vim | |
| 31 _get https://vim.googlecode.com/hg/runtime/syntax/eruby.vim | |
| 32 _get https://vim.googlecode.com/hg/runtime/syntax/scss.vim | |
| 33 _get https://github.com/kchmck/vim-coffee-script/raw/master/syntax/coffee.vim | |
| 34 _get https://github.com/slim-template/vim-slim/raw/master/syntax/slim.vim | |
| 35 _get https://github.com/elzr/vim-json/raw/master/syntax/json.vim | |
| 36 _get https://raw.githubusercontent.com/xsbeats/vim-blade/master/syntax/blade.vim | |
| 37 _get https://raw.githubusercontent.com/groenewege/vim-less/master/syntax/less.vim | |
| 38 ) |
