Register plugins and dependencies in Lua.
Section: Plugins and health checks
Declare plugins with lazy.nvim
lua
lua
require("lazy").setup({
{ "nvim-treesitter/nvim-treesitter" },
{ "neovim/nvim-lspconfig" },
{ "nvim-telescope/telescope.nvim", dependencies = { "nvim-lua/plenary.nvim" } },
})Explanation
This keeps plugin definitions in Lua and supports lazy loading.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Plugins and health checks