From 44462072f66fd4e1935207d67b03abd8cde86366 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 1 Feb 2023 07:49:12 +0000 Subject: [PATCH] Add packer to Makefile, add some extra plugins --- Makefile | 7 +++++-- config/nvim/lua/plugins.lua | 8 ++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d50016a2..bc179824 100644 --- a/Makefile +++ b/Makefile @@ -16,9 +16,9 @@ PACKER_DIR := $(HOME)/.local/share/nvim/site/pack/packer/start/packer.nvim POWERLEVEL_REPO := https://github.com/romkatv/powerlevel10k.git POWERLEVEL_DIR := $(ZSH_CUSTOM_DIR)/themes/powerlevel10k -.PHONY := config clean zsh ssh +.PHONY := config clean zsh ssh nvim -config: $(CONFIG_TARGETS) zsh ssh +config: $(CONFIG_TARGETS) zsh ssh nvim clean: for link in $(CONFIG_TARGETS); do rm "$$link"; done @@ -32,6 +32,8 @@ zsh: $(ZSH_DIR) $(ZSH_CUSTOM_DIR) $(POWERLEVEL_DIR) $(ZSH_TARGETS) ssh: $(HOME)/.ssh/config $(HOME)/.ssh/sockets $(HOME)/.ssh/config.d +nvim: $(PACKER_DIR) + $(CONFIG_TARGETS): $(CONFIG_DIR)/%: config/% $(FONT_TARGETS): $(FONT_DIR)/%: nerdfont_symbols/% $(ZSH_TARGETS): $(ZSH_CUSTOM_DIR)/%.zsh: %.zsh @@ -41,6 +43,7 @@ $(CONFIG_TARGETS) $(FONT_TARGETS) $(ZSH_TARGETS) $(HOME)/.ssh/config: $(PACKER_DIR): git clone --depth 1 $(PACKER_REPO) $@ + nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync' $(ZSH_DIR): sh -c "$$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua index 45da25ef..8bafa833 100644 --- a/config/nvim/lua/plugins.lua +++ b/config/nvim/lua/plugins.lua @@ -8,6 +8,8 @@ vim.cmd([[ require('packer').startup { function(use) use 'wbthomason/packer.nvim' + use 'lewis6991/impatient.nvim' + use 'stevearc/dressing.nvim' use { "navarasu/onedark.nvim", config = function () @@ -29,6 +31,12 @@ require('packer').startup { vim.notify = require("notify") end } + use { + 'vigoux/notifier.nvim', + config = function () + require('notifier') + end + } use 'kyazdani42/nvim-web-devicons' use 'nvim-lua/plenary.nvim' use {