This commit is contained in:
Wenwen Zhang 2024-06-02 11:16:16 +08:00
parent 2ffe8412fd
commit a08ab215f0
2 changed files with 12 additions and 2 deletions

View File

@ -3,6 +3,7 @@ local Plug = vim.fn['plug#']
vim.call('plug#begin') vim.call('plug#begin')
Plug('preservim/nerdtree', { ['on'] = 'NERDTreeToggle' }) Plug 'nvim-tree/nvim-web-devicons' " optional
Plug 'nvim-tree/nvim-tree.lua'
vim.call('plug#end') vim.call('plug#end')

View File

@ -31,6 +31,15 @@ else
fi fi
fi fi
NVIM_LOCAL_SHARE = "${XDG_DATA_HOME:-$HOME/.local/share}"
if [ -d "$NVIM_LOCAL_SHARE/nvim" ]; then
mv $NVIM_LOCAL_SHARE/nvim $NVIM_LOCAL_SHARE/nvim_BACKUP_$TIMESTAMP
fi
set -x set -x
git clone http://8.130.160.147:3000/Configs/$CONFIGBASE.git git clone http://8.130.160.147:3000/Configs/$CONFIGBASE.git
@ -38,7 +47,7 @@ git clone http://8.130.160.147:3000/Configs/$CONFIGBASE.git
mv $CONFIGBASE/config/nvim $CONFIG_DIR mv $CONFIGBASE/config/nvim $CONFIG_DIR
rm -rf $CONFIGBASE rm -rf $CONFIGBASE
echo "Config vim-plug for neovim ..." echo "Config vim-plug for neovim ..."