Manage Plugins in LunarVim
LunarVim is a highly customizable, Lua-based Neovim configuration that provides a feature-rich programming environment with minimal setup, including auto-completion, syntax highlighting, debugging support, and an integrated terminal.
To manage plugins in LunarVim, you can use the lvim.plugins
table in ~/.config/lvim/config.lua
to add, remove, or configure plugins.
Add Plugins
To add plugins, you can use the lvim.plugins
table in ~/.config/lvim/config.lua
:
lvim.plugins = {
{
"zbirenbaum/copilot-cmp",
event = "InsertEnter",
dependencies = { "zbirenbaum/copilot.lua" },
config = function()
vim.defer_fn(function()
require("copilot").setup() -- https://github.com/zbirenbaum/copilot.lua/blob/master/README.md#setup-and-configuration
require("copilot_cmp").setup() -- https://github.com/zbirenbaum/copilot-cmp/blob/master/README.md#configuration
end, 100)
end,
}
}