|
|
@@ -234,12 +234,22 @@ require('lazy').setup({
|
|
|
-- with the first argument being the link and the following
|
|
|
-- keys can be used to configure plugin behavior/loading/etc.
|
|
|
--
|
|
|
- -- Use `opts = {}` to force a plugin to be loaded.
|
|
|
+ -- Use `opts = {}` to automatically pass options to a plugin's `setup()` function, forcing the plugin to be loaded.
|
|
|
--
|
|
|
|
|
|
+ -- Alternatively, use `config = function() ... end` for full control over the configuration.
|
|
|
+ -- If you prefer to call `setup` explicitly, use:
|
|
|
+ -- {
|
|
|
+ -- 'lewis6991/gitsigns.nvim',
|
|
|
+ -- config = function()
|
|
|
+ -- require('gitsigns').setup({
|
|
|
+ -- -- Your gitsigns configuration here
|
|
|
+ -- })
|
|
|
+ -- end,
|
|
|
+ -- }
|
|
|
+ --
|
|
|
-- Here is a more advanced example where we pass configuration
|
|
|
- -- options to `gitsigns.nvim`. This is equivalent to the following Lua:
|
|
|
- -- require('gitsigns').setup({ ... })
|
|
|
+ -- options to `gitsigns.nvim`.
|
|
|
--
|
|
|
-- See `:help gitsigns` to understand what the configuration keys do
|
|
|
{ -- Adds git related signs to the gutter, as well as utilities for managing changes
|