-
Notifications
You must be signed in to change notification settings - Fork 1
Home
This Wiki it's for folks that are using my configs as base and want to change/remove/add things.
This module handle the plugins installation and management.
Module folder: /lua/user/plugins/install
.
-
/lua/user/plugins/install/init.lua
Module entry point -
/lua/user/plugins/install/plugins.lua
Exports a table of the plugins and make some smalls configs. -
/lua/user/plugins/install/install.lua
Iterate the plugins and install them with the package manager defined invim.g.plugin_manager
. -
/lua/user/plugins/install/setup_packer.lua
Iterate the plugins and install them using packer. -
/lua/user/plugins/install/setup_lazy.lua
Iterate the plugins and install them using lazy.
You can use another plugin manager, just write a setup module like setup_lazy
and use it in install.lua
.
Just add or remove it from the plugins table at plugins.lua
.
The syntax are:
In order to just add the plugin: { name='github.com/repo' }
In order to add the plugin with some lazy settings: { name='github.com/repo', lazy = { branch="main" }}
.
In order to add the plugin with some packer settings: { name='github.com/repo', packer = { branch="main" }}
.
In order to remove a plugin, just erase or comment it in the table at plugins.lua
to avoid the exports to the installation module.
Footer