From 19fadbba18ac7cd4a29d2927186f0ec10a295b2a Mon Sep 17 00:00:00 2001 From: Dominik Madarasz Date: Tue, 21 May 2024 19:43:15 +0000 Subject: [PATCH] neovim shitty fix --- fix_nvim | 10 ++++++++++ prep | 3 +++ 2 files changed, 13 insertions(+) create mode 100755 fix_nvim 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 +