From 130b15ede69c52bfa217e2dd6b52bca83ce3a6e7 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Wed, 21 Dec 2022 00:30:48 -0600 Subject: [PATCH] chore(nvim): cleanup old packer stuff --- .../primary/config/lua/plugins/init.lua | 4 --- .../primary/config/lua/plugins/plugins.lua | 34 ------------------- 2 files changed, 38 deletions(-) diff --git a/dots/.nvim-environments/primary/config/lua/plugins/init.lua b/dots/.nvim-environments/primary/config/lua/plugins/init.lua index 8451b6d0..9f972c84 100755 --- a/dots/.nvim-environments/primary/config/lua/plugins/init.lua +++ b/dots/.nvim-environments/primary/config/lua/plugins/init.lua @@ -1,5 +1 @@ require('plugins.plugins') -local found, _ = pcall(require, 'packer_compiled') -if not found then - vim.notify('Unable to locate packer_compiled!') -end diff --git a/dots/.nvim-environments/primary/config/lua/plugins/plugins.lua b/dots/.nvim-environments/primary/config/lua/plugins/plugins.lua index 71334fbc..357607b8 100755 --- a/dots/.nvim-environments/primary/config/lua/plugins/plugins.lua +++ b/dots/.nvim-environments/primary/config/lua/plugins/plugins.lua @@ -750,40 +750,6 @@ lazy.setup({ { "famiu/bufdelete.nvim", }, - - -- Leave at end!!! - -- Install and deploy packer plugins - -- automatically - -- if PACKER_STRAP then - -- vim.notify("Syncing packer from bootstrap") - -- - -- function _G.NotifyRestartNeeded() - -- local notify_available, _ = require("notify") - -- local message = "Neovim Restart Required to Finish Installation!" - -- if notify_available then - -- vim.notify(message, vim.lsp.log_levels.WARN, { - -- title = "Packer Strap", - -- keep = function() - -- return true - -- end, - -- }, - -- else - -- vim.notify(message) - -- end - -- end - -- - -- vim.api.nvim_exec( - -- [[ - -- autocmd User PackerCompileDone lua NotifyRestartNeeded() - -- ]], - -- false - -- ) - -- require("packer").sync() - -- end - -- end, - -- config = { - -- compile_path = vim.fn.stdpath("config") .. "/lua/packer_compiled.lua", - -- }, }, { checker = { enabled = true,