Add packer to Makefile, add some extra plugins

This commit is contained in:
Evie Litherland-Smith 2023-02-01 07:49:12 +00:00
parent 79b4ecf664
commit 44462072f6
2 changed files with 13 additions and 2 deletions

View file

@ -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)"

View file

@ -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 {