From 2a5580ba16c0b648a1fed434bc1b9899e19ad678 Mon Sep 17 00:00:00 2001 From: Christoffer Martinsson Date: Sun, 11 Jun 2023 01:25:30 +0200 Subject: [PATCH] Removed NvChand. Added custom init.lua --- update.sh | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/update.sh b/update.sh index 0829954..628bd4d 100755 --- a/update.sh +++ b/update.sh @@ -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