nvim: remove references to packer

This commit is contained in:
proctor committed 2026-04-13 17:19:46 -05:00
1 parent bdc89102ae
commit 89a9823459
1 file changed
+14 -14
+14 -14
View File
@@ -1,24 +1,24 @@
local execute = vim.api.nvim_command local execute = vim.api.nvim_command
local fn = vim.fn local fn = vim.fn
require 'config.lazy' require("config.lazy")
local pack_path = fn.stdpath("data") .. "/site/pack" -- local pack_path = fn.stdpath("data") .. "/site/pack"
local fmt = string.format -- local fmt = string.format
function ensure(user, repo) -- function ensure(user, repo)
-- Ensures a given github.com/USER/REPO is cloned in the pack/packer/start directory. -- -- Ensures a given github.com/USER/REPO is cloned in the pack/packer/start directory.
local install_path = fmt("%s/packer/start/%s", pack_path, repo, repo) -- local install_path = fmt("%s/packer/start/%s", pack_path, repo, repo)
if fn.empty(fn.glob(install_path)) > 0 then -- if fn.empty(fn.glob(install_path)) > 0 then
execute(fmt("!git clone https://github.com/%s/%s %s", user, repo, install_path)) -- execute(fmt("!git clone https://github.com/%s/%s %s", user, repo, install_path))
execute(fmt("packadd %s", repo)) -- execute(fmt("packadd %s", repo))
end -- end
end -- end
-- Bootstrap essential plugins required for installing and loading the rest. -- Bootstrap essential plugins required for installing and loading the rest.
ensure("wbthomason", "packer.nvim") -- ensure("wbthomason", "packer.nvim")
-- ensure("Olical", "aniseed") -- ensure("Olical", "aniseed")
ensure("lifepillar", "vim-solarized8") -- ensure("lifepillar", "vim-solarized8")
-- Enable Aniseed's automatic compilation and loading of Fennel source code. -- Enable Aniseed's automatic compilation and loading of Fennel source code.
-- vim.g["aniseed#env"] = { -- vim.g["aniseed#env"] = {
@@ -26,4 +26,4 @@ ensure("lifepillar", "vim-solarized8")
-- compile = true -- compile = true
-- } -- }
-- --
require 'dotfiles.init' require("dotfiles.init")