docs: fix plugin setup example (#175)

This commit is contained in:
Moshe Avni 2022-12-26 21:45:46 +02:00 committed by GitHub
parent 3c24c506ce
commit 3a67d2ad25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -202,18 +202,18 @@ return {
end,
},
-- the above could also be written as
-- the above could also be written as:
{
"nvim-neorg/neorg",
ft = "norg",
config = true, -- run require("norg").setup()
config = true, -- run require("neorg").setup()
},
-- or set custom config
{
"nvim-neorg/neorg",
ft = "norg",
config = { foo = "bar" }, -- run require("norg").setup({foo = "bar"})
config = { foo = "bar" }, -- run require("neorg").setup({foo = "bar"})
},
{