feat: switch from lazy to vim.pack

This commit is contained in:
2026-04-10 14:42:25 +02:00
parent 190b3ecebd
commit 28c45c8390
35 changed files with 1168 additions and 1455 deletions
+28 -40
View File
@@ -21,45 +21,33 @@ for _, file in ipairs(files) do
end
end
local ok, err = pcall(require, "bootstrap")
if not ok then
log.error("Error during bootstrap")
log.error(err:gsub("\t", " "))
return
end
---@type LazyConfig
local opts = {
install = {
colorscheme = { "onedark" },
require("plugin").setup({
"https://github.com/navarasu/onedark.nvim",
"https://github.com/nvim-lua/plenary.nvim",
"https://github.com/rcarriga/nvim-notify",
"https://github.com/debugloop/telescope-undo.nvim",
{
"https://github.com/nvim-telescope/telescope-fzf-native.nvim",
build = { "make" },
},
ui = {
icons = {
cmd = "",
config = "",
event = "",
favorite = "",
ft = "",
init = "",
import = "",
keys = "",
lazy = "",
loaded = "",
not_loaded = "",
plugin = "",
runtime = "",
require = " ",
source = "",
start = "",
task = "",
list = {
"",
"",
"",
"",
},
},
"https://github.com/nvim-telescope/telescope.nvim",
{
"https://github.com/saghen/blink.cmp",
version = vim.version.range("^1"),
},
}
require("lazy").setup("plugins", opts)
"https://github.com/neovim/nvim-lspconfig",
"https://github.com/mason-org/mason.nvim",
"https://github.com/owallb/mason-auto-install.nvim",
"https://github.com/mfussenegger/nvim-dap",
"https://github.com/igorlfs/nvim-dap-view",
"https://github.com/nvim-treesitter/nvim-treesitter",
"https://github.com/numToStr/Comment.nvim",
"https://github.com/j-hui/fidget.nvim",
"https://github.com/rbong/vim-flog",
"https://github.com/tpope/vim-fugitive",
"https://github.com/lewis6991/gitsigns.nvim",
"https://github.com/MagicDuck/grug-far.nvim",
"https://github.com/nvim-tree/nvim-tree.lua",
"https://github.com/stevearc/oil.nvim",
"https://github.com/hedyhli/outline.nvim",
})