mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-09 23:06:38 -05:00
vimrc should be init.vim now
This commit is contained in:
parent
53ef5d112e
commit
ca47b5e220
2 changed files with 5 additions and 5 deletions
2
init.vim
2
init.vim
|
@ -1,6 +1,6 @@
|
||||||
"============================================================="
|
"============================================================="
|
||||||
" "
|
" "
|
||||||
" Darkcloud Neovim Config: vimrc "
|
" Darkcloud Neovim Config: init.vim "
|
||||||
" "
|
" "
|
||||||
" By: Kevin MacMartin (prurigro@gmail.com) "
|
" By: Kevin MacMartin (prurigro@gmail.com) "
|
||||||
" Website: https://github.com/prurigro/darkcloud-nvimconfig "
|
" Website: https://github.com/prurigro/darkcloud-nvimconfig "
|
||||||
|
|
8
update
8
update
|
@ -250,28 +250,28 @@ fi
|
||||||
### GENERATE PLUGIN HELP
|
### GENERATE PLUGIN HELP
|
||||||
type -P vim >/dev/null && {
|
type -P vim >/dev/null && {
|
||||||
printf '%s' "$cbg_blue >> Generating plugin help:$c_reset"
|
printf '%s' "$cbg_blue >> Generating plugin help:$c_reset"
|
||||||
$timeout_command --preserve-status --foreground 1m vim -u ./vimrc -c 'Helptags|qa!'
|
$timeout_command --preserve-status --foreground 1m nvim -u ./init.vim -c 'Helptags|qa!'
|
||||||
|
|
||||||
if (( ! $? )); then
|
if (( ! $? )); then
|
||||||
printf '%s\n' "$cfg_green_bold SUCCESS! $c_reset"
|
printf '%s\n' "$cfg_green_bold SUCCESS! $c_reset"
|
||||||
else
|
else
|
||||||
reset -I
|
reset -I
|
||||||
printf '%s\n' "$cfg_red_bold FAIL! $c_reset"
|
printf '%s\n' "$cfg_red_bold FAIL! $c_reset"
|
||||||
error "vim -u './vimrc' -c 'Helptags|qa!'" 'Generating helpdocs for the submodules failed'
|
error "nvim -u './init.vim' -c 'Helptags|qa!'" 'Generating helpdocs for the submodules failed'
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
### UPDATE REMOTE PLUGINS IN NEOVIM
|
### UPDATE REMOTE PLUGINS IN NEOVIM
|
||||||
type -P nvim >/dev/null && {
|
type -P nvim >/dev/null && {
|
||||||
printf '%s' "$cbg_blue >> Updating remote plugins for neovim:$c_reset"
|
printf '%s' "$cbg_blue >> Updating remote plugins for neovim:$c_reset"
|
||||||
$timeout_command --preserve-status --foreground 1m nvim -u ./vimrc -c ':UpdateRemotePlugins|qa!'
|
$timeout_command --preserve-status --foreground 1m nvim -u ./init.vim -c ':UpdateRemotePlugins|qa!'
|
||||||
|
|
||||||
if (( ! $? )); then
|
if (( ! $? )); then
|
||||||
printf '%s\n' "$cfg_green_bold SUCCESS! $c_reset"
|
printf '%s\n' "$cfg_green_bold SUCCESS! $c_reset"
|
||||||
else
|
else
|
||||||
reset -I
|
reset -I
|
||||||
printf '%s\n' "$cfg_red_bold FAIL! $c_reset"
|
printf '%s\n' "$cfg_red_bold FAIL! $c_reset"
|
||||||
error "nvim -u ./vimrc -c ':UpdateRemotePlugins|qa!'" 'Updating remote plugins for neovim failed'
|
error "nvim -u ./init.vim -c ':UpdateRemotePlugins|qa!'" 'Updating remote plugins for neovim failed'
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue