neovim shitty fix

master
Dominik Madarász 2024-05-21 19:43:15 +00:00
parent a035c60531
commit 19fadbba18
2 changed files with 13 additions and 0 deletions

10
fix_nvim 100755
View File

@ -0,0 +1,10 @@
#!/bin/bash
echo This is dumb but we need to temporarily disable "after" hooks so we can source packer.lua and then run :PackerSync
echo Run :PackerSync and exit neovim, then enter again yourself.
cd nvim/.config/nvim
mv after after.bak
nvim packer.lua
mv after.bak after
echo Now run neovim again!

3
prep
View File

@ -15,3 +15,6 @@ nvm install latest
git clone --depth 1 https://github.com/wbthomason/packer.nvim\ git clone --depth 1 https://github.com/wbthomason/packer.nvim\
~/.local/share/nvim/site/pack/packer/start/packer.nvim ~/.local/share/nvim/site/pack/packer/start/packer.nvim
sh ./ubuntu
sh ./fix_nvim