mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 11:50:05 +08:00
21 lines
637 B
Bash
21 lines
637 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
# Fail on unset variables and command errors
|
||
|
set -ue -o pipefail
|
||
|
|
||
|
# Prevent commands misbehaving due to locale differences
|
||
|
export LC_ALL=C
|
||
|
|
||
|
docker pull spacevim/vims
|
||
|
|
||
|
git fetch origin dev:dev
|
||
|
|
||
|
if [ "${LINT#vimlint}" != "$LINT" ]; then
|
||
|
git clone --depth=1 https://github.com/syngan/vim-vimlint /tmp/vimlint
|
||
|
git clone --depth=1 https://github.com/ynkdir/vim-vimlparser /tmp/vimlparser
|
||
|
elif [ "${LINT#vint}" != "$LINT" ]; then
|
||
|
pip install vim-vint
|
||
|
elif [ "${LINT#vader}" != "$LINT" ]; then
|
||
|
git clone --depth=1 https://github.com/Shougo/dein.vim.git ~/.cache/vimfiles/repos/github.com/Shougo/dein.vim
|
||
|
fi
|