Mercurial > ec-dotfiles
comparison update-vendor @ 688:17cacf387f7c
Update vendor
...also update scripts to support syntax subdirectories
author | nanaya <me@nanaya.pro> |
---|---|
date | Fri, 21 Oct 2022 20:17:06 +0900 |
parents | 2febdacae5b4 |
children | 1e0f578f6752 |
comparison
equal
deleted
inserted
replaced
687:ae7f2fb75cdf | 688:17cacf387f7c |
---|---|
10 exit 1 | 10 exit 1 |
11 fi | 11 fi |
12 | 12 |
13 | 13 |
14 _get() { | 14 _get() { |
15 wget -nv "$1" | 15 ( |
16 if [ -n "${2:-}" ]; then | |
17 mkdir -p "$2" && cd "$2" | |
18 fi | |
19 wget -nv "$1" | |
20 ) | |
16 } | 21 } |
17 | 22 |
18 | 23 |
19 ( | 24 ( |
20 cd "$(dirname "$0")/vendor/vim-autoload" | 25 cd "$(dirname "$0")/vendor/vim-autoload" |
21 | 26 |
22 rm -f *.vim | 27 rm -f ./*.vim ./*/*.vim |
23 _get "https://raw.githubusercontent.com/tpope/vim-pathogen/master/autoload/pathogen.vim" | 28 _get "https://raw.githubusercontent.com/tpope/vim-pathogen/master/autoload/pathogen.vim" |
24 ) | 29 ) |
25 | 30 |
26 | 31 |
27 ( | 32 ( |
28 cd "$(dirname "$0")/vendor/vim-syntax" | 33 cd "$(dirname "$0")/vendor/vim-syntax" |
29 | 34 |
30 rm -f *.vim | 35 rm -f ./*.vim ./*/*.vim |
31 _get https://hg.nginx.org/nginx/raw-file/tip/contrib/vim/syntax/nginx.vim | 36 _get https://hg.nginx.org/nginx/raw-file/tip/contrib/vim/syntax/nginx.vim |
32 _get https://raw.githubusercontent.com/jwalton512/vim-blade/master/syntax/blade.vim | 37 _get https://raw.githubusercontent.com/jwalton512/vim-blade/master/syntax/blade.vim |
33 _get https://raw.githubusercontent.com/kchmck/vim-coffee-script/master/syntax/coffee.vim | 38 _get https://raw.githubusercontent.com/kchmck/vim-coffee-script/master/syntax/coffee.vim |
34 _get https://raw.githubusercontent.com/slim-template/vim-slim/master/syntax/slim.vim | 39 _get https://raw.githubusercontent.com/slim-template/vim-slim/master/syntax/slim.vim |
35 _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/css.vim | 40 _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/css.vim |
38 _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/json.vim | 43 _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/json.vim |
39 _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/less.vim | 44 _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/less.vim |
40 _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/ruby.vim | 45 _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/ruby.vim |
41 _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/scss.vim | 46 _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/scss.vim |
42 _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/typescript.vim | 47 _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/typescript.vim |
43 _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/typescriptcommon.vim | 48 _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/shared/typescriptcommon.vim shared |
44 _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/typescriptreact.vim | 49 _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/typescriptreact.vim |
45 ) | 50 ) |
46 | 51 |
47 ( | 52 ( |
48 cd "$(dirname "$0")/vendor/vim-colors" | 53 cd "$(dirname "$0")/vendor/vim-colors" |
49 | 54 |
50 rm -f *.vim | 55 rm -f ./*.vim ./*/*.vim |
51 _get https://raw.githubusercontent.com/NLKNguyen/papercolor-theme/master/colors/PaperColor.vim | 56 _get https://raw.githubusercontent.com/NLKNguyen/papercolor-theme/master/colors/PaperColor.vim |
52 _get https://raw.githubusercontent.com/srcery-colors/srcery-vim/master/colors/srcery.vim | 57 _get https://raw.githubusercontent.com/srcery-colors/srcery-vim/master/colors/srcery.vim |
53 _get https://raw.githubusercontent.com/tomasiser/vim-code-dark/master/colors/codedark.vim | 58 _get https://raw.githubusercontent.com/tomasiser/vim-code-dark/master/colors/codedark.vim |
54 ) | 59 ) |