mirror of https://github.com/folke/lazy.nvim.git
docs: fix plugin setup example (#175)
This commit is contained in:
parent
3c24c506ce
commit
3a67d2ad25
|
@ -202,18 +202,18 @@ return {
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
-- the above could also be written as
|
-- the above could also be written as:
|
||||||
{
|
{
|
||||||
"nvim-neorg/neorg",
|
"nvim-neorg/neorg",
|
||||||
ft = "norg",
|
ft = "norg",
|
||||||
config = true, -- run require("norg").setup()
|
config = true, -- run require("neorg").setup()
|
||||||
},
|
},
|
||||||
|
|
||||||
-- or set custom config
|
-- or set custom config
|
||||||
{
|
{
|
||||||
"nvim-neorg/neorg",
|
"nvim-neorg/neorg",
|
||||||
ft = "norg",
|
ft = "norg",
|
||||||
config = { foo = "bar" }, -- run require("norg").setup({foo = "bar"})
|
config = { foo = "bar" }, -- run require("neorg").setup({foo = "bar"})
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue