Skip to content

Commit db1c4f7

Browse files
committed
docs(readme): simplify setup process
1 parent f81ac7f commit db1c4f7

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

README.md

+2-12
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,7 @@ The recommended installation method is via [rocks.nvim](https://github.com/nvim-
8585
- Run `:Rocks install neorg`.
8686
- Add the following to your config's `lua/plugins/neorg.lua`:
8787
```lua
88-
require("neorg").setup({
89-
load = {
90-
["core.defaults"] = {},
91-
}
92-
})
88+
require("neorg").setup()
9389
```
9490

9591
</details>
@@ -126,13 +122,7 @@ See [this blog](https://vhyrro.github.io/posts/neorg-and-luarocks/) for more inf
126122
dependencies = { "luarocks.nvim" },
127123
lazy = false, -- Disable lazy loading as some `lazy.nvim` distributions set `lazy = true` by default
128124
version = "*", -- Pin Neorg to the latest stable release
129-
config = function()
130-
require("neorg").setup({
131-
load = {
132-
["core.defaults"] = {},
133-
},
134-
})
135-
end,
125+
config = true,
136126
}
137127
```
138128

0 commit comments

Comments
 (0)