diff --git a/fix_nvim b/fix_nvim new file mode 100755 index 0000000..62fdda7 --- /dev/null +++ b/fix_nvim @@ -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! + diff --git a/prep b/prep index e96da7e..d4ea525 100755 --- a/prep +++ b/prep @@ -15,3 +15,6 @@ nvm install latest git clone --depth 1 https://github.com/wbthomason/packer.nvim\ ~/.local/share/nvim/site/pack/packer/start/packer.nvim +sh ./ubuntu +sh ./fix_nvim +