Mercurial > ec-dotfiles
comparison update-vendor @ 716:42e58cea7821
[vimrc] Remove unused craps
| author | nanaya <me@nanaya.net> |
|---|---|
| date | Mon, 19 Dec 2022 05:39:15 +0900 |
| parents | 4576f1471f53 |
| children | 1f8218896f2a |
comparison
equal
deleted
inserted
replaced
| 715:3f0fd2156612 | 716:42e58cea7821 |
|---|---|
| 26 wget -nv -O - "https://github.com/${1}/${2}/archive/refs/heads/${3}.zip" | unzip -q - | 26 wget -nv -O - "https://github.com/${1}/${2}/archive/refs/heads/${3}.zip" | unzip -q - |
| 27 mv "./${2}-${3}" "./${2}" | 27 mv "./${2}-${3}" "./${2}" |
| 28 ) | 28 ) |
| 29 } | 29 } |
| 30 | 30 |
| 31 _autoloads() { | |
| 32 ( | |
| 33 cd "$(dirname "$0")/vendor/vim-autoload" | |
| 34 | |
| 35 rm -f ./*.vim ./*/*.vim | |
| 36 _get "https://raw.githubusercontent.com/tpope/vim-pathogen/master/autoload/pathogen.vim" | |
| 37 ) | |
| 38 } | |
| 39 | |
| 40 _syntaxes() { | 31 _syntaxes() { |
| 41 ( | 32 ( |
| 42 cd "$(dirname "$0")/vendor/vim-syntax" | 33 cd "$(dirname "$0")/vendor/vim-syntax" |
| 43 | 34 |
| 44 rm -f ./*.vim ./*/*.vim | 35 rm -f ./*.vim ./*/*.vim |
| 57 _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/shared/typescriptcommon.vim shared | 48 _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/shared/typescriptcommon.vim shared |
| 58 _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 |
| 59 ) | 50 ) |
| 60 } | 51 } |
| 61 | 52 |
| 62 _colors() { | |
| 63 ( | |
| 64 cd "$(dirname "$0")/vendor/vim-colors" | |
| 65 | |
| 66 rm -f ./*.vim ./*/*.vim | |
| 67 _get https://raw.githubusercontent.com/NLKNguyen/papercolor-theme/master/colors/PaperColor.vim | |
| 68 _get https://raw.githubusercontent.com/tomasiser/vim-code-dark/master/colors/codedark.vim | |
| 69 ) | |
| 70 } | |
| 71 | |
| 72 _packs() { | 53 _packs() { |
| 73 ( | 54 ( |
| 74 cd "$(dirname "$0")/vendor/vim-packs" | 55 cd "$(dirname "$0")/vendor/vim-packs" |
| 75 | 56 |
| 76 touch empty | 57 touch empty |
| 78 _get_pack_github "srcery-colors" "srcery-vim" "master" | 59 _get_pack_github "srcery-colors" "srcery-vim" "master" |
| 79 _get_pack_github "ctrlpvim" "ctrlp.vim" "master" | 60 _get_pack_github "ctrlpvim" "ctrlp.vim" "master" |
| 80 ) | 61 ) |
| 81 } | 62 } |
| 82 | 63 |
| 83 _autoloads | |
| 84 _syntaxes | 64 _syntaxes |
| 85 _colors | |
| 86 _packs | 65 _packs |
