feat(pack): add built-in plugin manager vim.pack

Problem: No built-in plugin manager

Solution: Add built-in plugin manager

Co-authored-by: Lewis Russell <lewis6991@gmail.com>
This commit is contained in:
Evgeni Chasnovski
2025-07-04 15:52:18 +03:00
parent cf0f90fe14
commit d21b8c949a
13 changed files with 1505 additions and 0 deletions

View File

@@ -86,3 +86,8 @@ end, { desc = 'Print the git blame for the current line' })
-- For example, to add the "nohlsearch" package to automatically turn off search highlighting after
-- 'updatetime' and when going to insert mode
vim.cmd('packadd! nohlsearch')
-- [[ Install plugins ]]
-- Nvim functionality can be extended by installing external plugins.
-- One way to do it is with a built-in plugin manager. See `:h vim.pack`.
vim.pack.add({ 'https://github.com/neovim/nvim-lspconfig' })