Convert from Lazy.nvim to vim.pack built-in package manager#6
Draft
Convert from Lazy.nvim to vim.pack built-in package manager#6
Conversation
Co-authored-by: JoTerrance <6041670+JoTerrance@users.noreply.github.com>
Co-authored-by: JoTerrance <6041670+JoTerrance@users.noreply.github.com>
Co-authored-by: JoTerrance <6041670+JoTerrance@users.noreply.github.com>
Co-authored-by: JoTerrance <6041670+JoTerrance@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Change init.lua to use vim.pak instead of lazy package manager
Convert from Lazy.nvim to vim.pack built-in package manager
Oct 18, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR migrates BlindNvim from using Lazy.nvim as a plugin manager to Neovim's built-in package system (
vim.pack). The change simplifies the codebase, removes external dependencies, and provides more direct control over plugin management while preserving all existing functionality.Changes
Plugin Management System
Before (Lazy.nvim):
After (vim.pack):
Key Features
Automatic Plugin Installation
~/.local/share/nvim/site/pack/plugins/start/on first run--depth=1) for faster installationBuild Step Automation
avante.nvim(make)cmp-tabnine(./install.sh)nvim-dbee(binary installation)nvim-treesitter(TSUpdate - async)fzf(fzf#install)vim.fn.jobstart()for safe, asynchronous executionError Safety
pcall()to prevent initialization failuresSecurity & Performance
vim.fn.jobstart()with proper parameter handlingBenefits
✅ No external dependencies - Uses only Neovim's built-in features
✅ Simpler codebase - 321 insertions, 314 deletions (net +7 lines)
✅ More transparent - Clear visibility of what plugins are installed and where
✅ Better security - No third-party plugin manager code execution
✅ Improved performance - Async operations for expensive tasks
✅ Easier debugging - Direct control over plugin loading
Trade-offs
Testing Recommendations
To test this PR:
Fresh Installation Test
Functionality Test
Build Steps Test
Future Enhancements
Possible improvements that could be added later:
Files Changed
lua/plugins/init.lua- Complete rewrite to use vim.pack instead of Lazy.nvimFixes the issue by implementing a minimal, built-in package manager that leverages Neovim's native
vim.packsystem.Original prompt
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.