comparison update-vendor @ 707:4576f1471f53

[update-vendor, vim] add ctrlp
author nanaya <me@nanaya.net>
date Sun, 18 Dec 2022 22:27:56 +0900
parents 4b30df382167
children 42e58cea7821
comparison
equal deleted inserted replaced
706:4b30df382167 707:4576f1471f53
21 ) 21 )
22 } 22 }
23 23
24 _get_pack_github() { 24 _get_pack_github() {
25 ( 25 (
26 wget -nv -O - "$3" | unzip -q - 26 wget -nv -O - "https://github.com/${1}/${2}/archive/refs/heads/${3}.zip" | unzip -q -
27 mv "./${1}-${2}" "./${1}" 27 mv "./${2}-${3}" "./${2}"
28 ) 28 )
29 } 29 }
30 30
31 _autoloads() { 31 _autoloads() {
32 ( 32 (
73 ( 73 (
74 cd "$(dirname "$0")/vendor/vim-packs" 74 cd "$(dirname "$0")/vendor/vim-packs"
75 75
76 touch empty 76 touch empty
77 rm -rf ./* 77 rm -rf ./*
78 _get_pack_github "srcery-vim" "master" "https://github.com/srcery-colors/srcery-vim/archive/refs/heads/master.zip" 78 _get_pack_github "srcery-colors" "srcery-vim" "master"
79 _get_pack_github "ctrlpvim" "ctrlp.vim" "master"
79 ) 80 )
80 } 81 }
81 82
82 _autoloads 83 _autoloads
83 _syntaxes 84 _syntaxes