-
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.
module
/lua/user/plugins/install/init.lua
This module handle the plugins installation and management.
/lua/user/plugins/install/init.lua
→ module entry point the flag vim.g.plugin_manager
can be set to lazy
or packer
.
/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 in vim.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.
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