vundle install on setup fixes + fzf-tab and scwrypts versions
This commit is contained in:
parent
5a7fc08f44
commit
c8ce1402af
@ -2,17 +2,6 @@
|
||||
# Scwrypts Build Definitions
|
||||
#
|
||||
|
||||
VUNDLE_BUILD__ale() {}
|
||||
VUNDLE_BUILD__nerdtree() {}
|
||||
VUNDLE_BUILD__vim-dim() {}
|
||||
VUNDLE_BUILD__vim-fugitive() {}
|
||||
VUNDLE_BUILD__vim-go() {}
|
||||
VUNDLE_BUILD__vim-surround() {}
|
||||
|
||||
VUNDLE_BUILD__vim-hexokinase() { make hexokinase; }
|
||||
|
||||
VUNDLE_BUILD__youcompleteme() { ./install.py --all; }
|
||||
|
||||
VUNDLE__BUILD__ale() {
|
||||
# ... build steps from /home/w0ryn/.vim/ale
|
||||
}
|
||||
@ -33,14 +22,16 @@ VUNDLE__BUILD__vim-go() {
|
||||
# ... build steps from /home/w0ryn/.vim/vim-go
|
||||
}
|
||||
|
||||
VUNDLE__BUILD__vim-hexokinase() {
|
||||
# ... build steps from /home/w0ryn/.vim/vim-hexokinase
|
||||
}
|
||||
|
||||
VUNDLE__BUILD__vim-surround() {
|
||||
# ... build steps from /home/w0ryn/.vim/vim-surround
|
||||
}
|
||||
|
||||
VUNDLE__BUILD__vim-hexokinase() {
|
||||
# ... build steps from /home/w0ryn/.vim/vim-hexokinase
|
||||
make hexokinase
|
||||
}
|
||||
|
||||
VUNDLE__BUILD__youcompleteme() {
|
||||
# ... build steps from /home/w0ryn/.vim/youcompleteme
|
||||
./install.py --all
|
||||
}
|
||||
|
@ -39,10 +39,7 @@ CONFIG__VIM() {
|
||||
[ $COMPILE_VIM ] && [[ $COMPILE_VIM -eq 1 ]] && return 0
|
||||
|
||||
STATUS 'starting vim setup'
|
||||
"$DOTWRYN_PATH/vim/update" \
|
||||
&& SUCCESS 'completed vim setup' \
|
||||
|| FAIL 1 'error detected in vim setup (see above)' \
|
||||
;
|
||||
SCWRYPTS --name ystem/vim/vundle/install --group scwrypts --type zsh || return 1
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
|
47
vim/update
47
vim/update
@ -1,47 +0,0 @@
|
||||
#!/bin/zsh
|
||||
source "$HOME/.config/wryn/env.zsh"
|
||||
#####################################################################
|
||||
|
||||
UPDATE() {
|
||||
local VIM_PATH="$HOME/.local/share/source-packages/vim"
|
||||
|
||||
VIM_INSTALL --only-pull || return 1
|
||||
|
||||
cd "$VIM_PATH"
|
||||
__STATUS 'configuring vim'
|
||||
./configure \
|
||||
--with-features=huge \
|
||||
--enable-cscope \
|
||||
--enable-gtk2-check \
|
||||
--enable-gtk3-check \
|
||||
--with-x \
|
||||
--enable-gui=auto \
|
||||
--enable-luainterp=yes \
|
||||
--enable-perlinterp=yes \
|
||||
--enable-python3interp=yes \
|
||||
--enable-rubyinterp=yes \
|
||||
--enable-terminal \
|
||||
&& __SUCCESS 'finished configuring vim' \
|
||||
|| __FAIL 3 'failed to configure vim (see above)' \
|
||||
;
|
||||
|
||||
VIM_INSTALL $@ --only-build || __FAIL 2 'vim build failed (try with --clean for make clean)'
|
||||
|
||||
VUNDLE_INSTALL || __FAIL 3 'vundle plugin install failed'
|
||||
}
|
||||
|
||||
VIM_INSTALL() {
|
||||
scwrypts -n packages/install -- \
|
||||
--target-url 'https://github.com/vim/vim.git' \
|
||||
--local-name 'vim' \
|
||||
--update \
|
||||
$@
|
||||
}
|
||||
|
||||
VUNDLE_INSTALL() {
|
||||
"$DOTWRYN/bin/scwrypts" --env local --no-log \
|
||||
zsh/vim/vundle/install $@
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
UPDATE $@
|
@ -1 +1 @@
|
||||
Subproject commit 938eef72e93ddb0609205a663bf0783f4e1b5fae
|
||||
Subproject commit c2b4aa5ad2532cca91f23908ac7f00efb7ff09c9
|
@ -1 +1 @@
|
||||
Subproject commit 15942bb08d5c3f413941faae0eff7f1d49a00e49
|
||||
Subproject commit e6dfff255ce57a53e5e6f33887819b7eda62eec0
|
Loading…
Reference in New Issue
Block a user