Removed NvChand. Added custom init.lua

This commit is contained in:
Christoffer Martinsson 2023-06-11 01:25:30 +02:00
parent b978e61918
commit 2a5580ba16

View File

@ -113,12 +113,12 @@ cd ~
curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt install -y nodejs
# Install NvChad
printf -- '\033[33m Installing NvChad\n\033[37m'
if [ ! -d ~/.config/nvim ];
then git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1
ln -sf ~/code_server/config/nvim/lua/custom ~/.config/nvim/lua/custom
fi
# # Install NvChad
# printf -- '\033[33m Installing NvChad\n\033[37m'
# if [ ! -d ~/.config/nvim ];
# then git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1
# ln -sf ~/code_server/config/nvim/lua/custom ~/.config/nvim/lua/custom
# fi
# Install astronvim
# printf -- '\033[33m Installing astronvim\n\033[37m'
@ -139,6 +139,10 @@ pip3 install pynvim
printf -- '\033[33m Installing neovim for node\n\033[37m'
sudo npm install -g neovim
# Symlink nvim config
printf -- '\033[33m Symlinking nvim config\n\033[37m'
ln -sf ~/code_server/config/nvim/init.lua ~/.config/nvim/init.lua
# Symlink git config
printf -- '\033[33m Symlinking git config\n\033[37m'
ln -sf ~/code_server/gitconfig ~/.gitconfig