Some checks failed
Detach Plugins / check (FlyGrep.vim) (push) Has been cancelled
Detach Plugins / check (GitHub.vim) (push) Has been cancelled
Detach Plugins / check (JavaUnit.vim) (push) Has been cancelled
Detach Plugins / check (SourceCounter.vim) (push) Has been cancelled
Detach Plugins / check (cpicker.nvim) (push) Has been cancelled
Detach Plugins / check (dein-ui.vim) (push) Has been cancelled
Detach Plugins / check (git.vim) (push) Has been cancelled
Detach Plugins / check (iedit.vim) (push) Has been cancelled
Detach Plugins / check (scrollbar.vim) (push) Has been cancelled
Detach Plugins / check (vim-chat) (push) Has been cancelled
Detach Plugins / check (vim-cheat) (push) Has been cancelled
Detach Plugins / check (vim-todo) (push) Has been cancelled
Detach Plugins / check (xmake.vim) (push) Has been cancelled
test / Linux (nvim, nightly) (push) Has been cancelled
test / Linux (nvim, v0.3.8) (push) Has been cancelled
test / Linux (nvim, v0.4.0) (push) Has been cancelled
test / Linux (nvim, v0.4.2) (push) Has been cancelled
test / Linux (nvim, v0.4.3) (push) Has been cancelled
test / Linux (nvim, v0.4.4) (push) Has been cancelled
test / Linux (nvim, v0.5.0) (push) Has been cancelled
test / Linux (nvim, v0.5.1) (push) Has been cancelled
test / Linux (nvim, v0.6.0) (push) Has been cancelled
test / Linux (nvim, v0.6.1) (push) Has been cancelled
test / Linux (nvim, v0.7.0) (push) Has been cancelled
test / Linux (nvim, v0.7.2) (push) Has been cancelled
test / Linux (nvim, v0.8.0) (push) Has been cancelled
test / Linux (nvim, v0.8.1) (push) Has been cancelled
test / Linux (nvim, v0.8.2) (push) Has been cancelled
test / Linux (nvim, v0.8.3) (push) Has been cancelled
test / Linux (nvim, v0.9.0) (push) Has been cancelled
test / Linux (nvim, v0.9.1) (push) Has been cancelled
test / Linux (true, vim, v7.4.052) (push) Has been cancelled
test / Linux (true, vim, v7.4.1689) (push) Has been cancelled
test / Linux (true, vim, v7.4.629) (push) Has been cancelled
test / Linux (true, vim, v8.0.0027) (push) Has been cancelled
test / Linux (true, vim, v8.0.0183) (push) Has been cancelled
test / Linux (vim, nightly) (push) Has been cancelled
test / Linux (vim, v8.0.0184) (push) Has been cancelled
test / Linux (vim, v8.0.1453) (push) Has been cancelled
test / Linux (vim, v8.1.2269) (push) Has been cancelled
test / Linux (vim, v8.2.2434) (push) Has been cancelled
test / Linux (vim, v8.2.3995) (push) Has been cancelled
test / Windows (nvim, nightly) (push) Has been cancelled
test / Windows (nvim, v0.3.8) (push) Has been cancelled
test / Windows (nvim, v0.4.2) (push) Has been cancelled
test / Windows (nvim, v0.4.3) (push) Has been cancelled
test / Windows (nvim, v0.4.4) (push) Has been cancelled
test / Windows (nvim, v0.5.0) (push) Has been cancelled
test / Windows (nvim, v0.5.1) (push) Has been cancelled
test / Windows (nvim, v0.6.0) (push) Has been cancelled
test / Windows (nvim, v0.6.1) (push) Has been cancelled
test / Windows (nvim, v0.7.0) (push) Has been cancelled
test / Windows (nvim, v0.7.2) (push) Has been cancelled
test / Windows (nvim, v0.8.0) (push) Has been cancelled
test / Windows (nvim, v0.8.1) (push) Has been cancelled
test / Windows (nvim, v0.8.2) (push) Has been cancelled
test / Windows (nvim, v0.8.3) (push) Has been cancelled
test / Windows (nvim, v0.9.0) (push) Has been cancelled
test / Windows (nvim, v0.9.1) (push) Has been cancelled
test / Windows (vim, nightly) (push) Has been cancelled
test / Windows (vim, v7.4.1185) (push) Has been cancelled
test / Windows (vim, v7.4.1689) (push) Has been cancelled
test / Windows (vim, v8.0.0027) (push) Has been cancelled
test / Windows (vim, v8.0.1453) (push) Has been cancelled
test / Windows (vim, v8.1.2269) (push) Has been cancelled
test / Windows (vim, v8.2.2434) (push) Has been cancelled
test / Windows (vim, v8.2.3995) (push) Has been cancelled
docker / docker (push) Has been cancelled
mirror / check (coding) (push) Has been cancelled
mirror / check (gitee) (push) Has been cancelled
mirror / check (gitlab) (push) Has been cancelled
138 lines
4.0 KiB
Bash
138 lines
4.0 KiB
Bash
#!/bin/sh
|
|
# Standalone installer for Unixs
|
|
# Original version is created by shoma2da
|
|
# https://github.com/shoma2da/neobundle_installer
|
|
|
|
# Installation directory
|
|
BUNDLE_DIR=~/.vim/bundle
|
|
INSTALL_DIR="$BUNDLE_DIR/neobundle.vim"
|
|
echo "$INSTALL_DIR"
|
|
if [ -e "$INSTALL_DIR" ]; then
|
|
echo "$INSTALL_DIR already exists!"
|
|
fi
|
|
|
|
NVIM_DIR=~/.config/nvim
|
|
NVIM_BUNDLE_DIR="$NVIM_DIR/bundle"
|
|
NVIM_INSTALL_DIR="$NVIM_BUNDLE_DIR/neobundle.vim"
|
|
echo "$NVIM_INSTALL_DIR"
|
|
if [ -e "$NVIM_INSTALL_DIR" ]; then
|
|
echo "$NVIM_INSTALL_DIR already exists!"
|
|
fi
|
|
|
|
if [ -e "$INSTALL_DIR" ] && [ -e "$NVIM_INSTALL_DIR" ]; then
|
|
exit 1
|
|
fi
|
|
|
|
# check git command
|
|
if type git; then
|
|
: # You have git command. No Problem.
|
|
else
|
|
echo 'Please install git or update your path to include the git executable!'
|
|
exit 1
|
|
fi
|
|
|
|
# make bundle dir and fetch neobundle
|
|
echo "Begin fetching NeoBundle..."
|
|
if ! [ -e "$INSTALL_DIR" ]; then
|
|
mkdir -p "$BUNDLE_DIR"
|
|
git clone https://github.com/Shougo/neobundle.vim "$INSTALL_DIR"
|
|
fi
|
|
|
|
if type nvim > /dev/null 2>&1 && ! [ -e "$NVIM_INSTALL_DIR" ]; then
|
|
mkdir -p "$NVIM_BUNDLE_DIR"
|
|
git clone https://github.com/Shougo/neobundle.vim "$NVIM_INSTALL_DIR"
|
|
fi
|
|
|
|
echo "Done."
|
|
|
|
# write initial setting for .vimrc
|
|
echo "Please add the following settings for NeoBundle to the top of your .vimrc file:"
|
|
{
|
|
echo ""
|
|
echo ""
|
|
echo "\"NeoBundle Scripts-----------------------------"
|
|
echo "if &compatible"
|
|
echo " set nocompatible \" Be iMproved"
|
|
echo "endif"
|
|
echo ""
|
|
echo "\" Required:"
|
|
echo "set runtimepath+=$BUNDLE_DIR/neobundle.vim/"
|
|
echo ""
|
|
echo "\" Required:"
|
|
echo "call neobundle#begin(expand('$BUNDLE_DIR'))"
|
|
echo ""
|
|
echo "\" Let NeoBundle manage NeoBundle"
|
|
echo "\" Required:"
|
|
echo "NeoBundleFetch 'Shougo/neobundle.vim'"
|
|
echo ""
|
|
echo "\" Add or remove your Bundles here:"
|
|
echo "NeoBundle 'Shougo/neosnippet.vim'"
|
|
echo "NeoBundle 'Shougo/neosnippet-snippets'"
|
|
echo "NeoBundle 'tpope/vim-fugitive'"
|
|
echo "NeoBundle 'ctrlpvim/ctrlp.vim'"
|
|
echo "NeoBundle 'flazz/vim-colorschemes'"
|
|
echo ""
|
|
echo "\" You can specify revision/branch/tag."
|
|
echo "NeoBundle 'Shougo/vimshell', { 'rev' : '3787e5' }"
|
|
echo ""
|
|
echo "\" Required:"
|
|
echo "call neobundle#end()"
|
|
echo ""
|
|
echo "\" Required:"
|
|
echo "filetype plugin indent on"
|
|
echo ""
|
|
echo "\" If there are uninstalled bundles found on startup,"
|
|
echo "\" this will conveniently prompt you to install them."
|
|
echo "NeoBundleCheck"
|
|
echo "\"End NeoBundle Scripts-------------------------"
|
|
echo ""
|
|
echo ""
|
|
}
|
|
|
|
# write initial setting for ~/.config/nvim/init.vim
|
|
if type nvim > /dev/null 2>&1; then
|
|
echo "Please add the following settings for NeoBundle to the top of your init.vim file:"
|
|
{
|
|
echo ""
|
|
echo ""
|
|
echo "\"NeoBundle Scripts-----------------------------"
|
|
echo "if has('vim_starting')"
|
|
echo " \" Required:"
|
|
echo " set runtimepath+=$NVIM_BUNDLE_DIR/neobundle.vim/"
|
|
echo "endif"
|
|
echo ""
|
|
echo "\" Required:"
|
|
echo "call neobundle#begin(expand('$NVIM_BUNDLE_DIR'))"
|
|
echo ""
|
|
echo "\" Let NeoBundle manage NeoBundle"
|
|
echo "\" Required:"
|
|
echo "NeoBundleFetch 'Shougo/neobundle.vim'"
|
|
echo ""
|
|
echo "\" Add or remove your Bundles here:"
|
|
echo "NeoBundle 'Shougo/neosnippet.vim'"
|
|
echo "NeoBundle 'Shougo/neosnippet-snippets'"
|
|
echo "NeoBundle 'tpope/vim-fugitive'"
|
|
echo "NeoBundle 'ctrlpvim/ctrlp.vim'"
|
|
echo "NeoBundle 'flazz/vim-colorschemes'"
|
|
echo ""
|
|
echo "\" You can specify revision/branch/tag."
|
|
echo "NeoBundle 'Shougo/vimshell', { 'rev' : '3787e5' }"
|
|
echo ""
|
|
echo "\" Required:"
|
|
echo "call neobundle#end()"
|
|
echo ""
|
|
echo "\" Required:"
|
|
echo "filetype plugin indent on"
|
|
echo ""
|
|
echo "\" If there are uninstalled bundles found on startup,"
|
|
echo "\" this will conveniently prompt you to install them."
|
|
echo "NeoBundleCheck"
|
|
echo "\"End NeoBundle Scripts-------------------------"
|
|
echo ""
|
|
echo ""
|
|
}
|
|
fi
|
|
echo "Done."
|
|
|
|
echo "Complete setup NeoBundle!"
|