mirror of
https://github.com/neovim/neovim.git
synced 2025-11-16 07:11:20 +00:00
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:
@@ -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' })
|
||||
|
||||
Reference in New Issue
Block a user