From f4d53dc18af4631a787eb72497a97afc2de8625f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 18 Mar 2023 07:39:22 +0000 Subject: [PATCH] chore(build): auto-generate vimdoc --- doc/lazy.nvim.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/lazy.nvim.txt b/doc/lazy.nvim.txt index 9da6e82..5c36a3b 100644 --- a/doc/lazy.nvim.txt +++ b/doc/lazy.nvim.txt @@ -789,6 +789,18 @@ modules. Both of the `setup()` calls are equivalent: require("lazy").setup({{import = "plugins"}}) < +To import multiple modules from a plugin, add additional specs for each import. +For example, to import LazyVim core plugins and an optional plugin: + +>lua + require("lazy").setup({ + spec = { + { "LazyVim/LazyVim", import = "lazyvim.plugins" }, + { import = "lazyvim.plugins.extras.coding.copilot" }, + } + ) +< + When you import specs, you can override them by simply adding a spec for the same plugin to your local specs, adding any keys you want to override / merge.