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_REPO := https://github.com/romkatv/powerlevel10k.git
POWERLEVEL_DIR := $(ZSH_CUSTOM_DIR)/themes/powerlevel10k 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: clean:
for link in $(CONFIG_TARGETS); do rm "$$link"; done 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 ssh: $(HOME)/.ssh/config $(HOME)/.ssh/sockets $(HOME)/.ssh/config.d
nvim: $(PACKER_DIR)
$(CONFIG_TARGETS): $(CONFIG_DIR)/%: config/% $(CONFIG_TARGETS): $(CONFIG_DIR)/%: config/%
$(FONT_TARGETS): $(FONT_DIR)/%: nerdfont_symbols/% $(FONT_TARGETS): $(FONT_DIR)/%: nerdfont_symbols/%
$(ZSH_TARGETS): $(ZSH_CUSTOM_DIR)/%.zsh: %.zsh $(ZSH_TARGETS): $(ZSH_CUSTOM_DIR)/%.zsh: %.zsh
@ -41,6 +43,7 @@ $(CONFIG_TARGETS) $(FONT_TARGETS) $(ZSH_TARGETS) $(HOME)/.ssh/config:
$(PACKER_DIR): $(PACKER_DIR):
git clone --depth 1 $(PACKER_REPO) $@ git clone --depth 1 $(PACKER_REPO) $@
nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync'
$(ZSH_DIR): $(ZSH_DIR):
sh -c "$$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" 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 { require('packer').startup {
function(use) function(use)
use 'wbthomason/packer.nvim' use 'wbthomason/packer.nvim'
use 'lewis6991/impatient.nvim'
use 'stevearc/dressing.nvim'
use { use {
"navarasu/onedark.nvim", "navarasu/onedark.nvim",
config = function () config = function ()
@ -29,6 +31,12 @@ require('packer').startup {
vim.notify = require("notify") vim.notify = require("notify")
end end
} }
use {
'vigoux/notifier.nvim',
config = function ()
require('notifier')
end
}
use 'kyazdani42/nvim-web-devicons' use 'kyazdani42/nvim-web-devicons'
use 'nvim-lua/plenary.nvim' use 'nvim-lua/plenary.nvim'
use { use {