mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-06-23 21:58:36 +02:00
docs: Add documentation for lazy's init
key
Guide users towards lazy's `init` key for plugins written in VimScript.
This commit is contained in:
parent
3338d39206
commit
ad50cccc28
1 changed files with 4 additions and 0 deletions
4
init.lua
4
init.lua
|
@ -267,6 +267,10 @@ require('lazy').setup({
|
||||||
-- end,
|
-- end,
|
||||||
-- }
|
-- }
|
||||||
--
|
--
|
||||||
|
-- For plugins written in VimScript, use `init = function() ... end` to set
|
||||||
|
-- configuration options, usually in the format `vim.g.*`. This can also
|
||||||
|
-- contain conditionals or any other setup logic you need for the plugin.
|
||||||
|
--
|
||||||
-- Here is a more advanced example where we pass configuration
|
-- Here is a more advanced example where we pass configuration
|
||||||
-- options to `gitsigns.nvim`.
|
-- options to `gitsigns.nvim`.
|
||||||
--
|
--
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue