Skip to content

Commit 5f71f64

Browse files
committed
docs: update README.md with new luarocks.nvim update
1 parent c2ba335 commit 5f71f64

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

README.md

+9-6
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,8 @@ See [this blog](https://vhyrro.github.io/posts/neorg-and-luarocks/) for more inf
111111
```lua
112112
{
113113
"vhyrro/luarocks.nvim",
114-
version = "*",
115-
config = function()
116-
require("luarocks").setup({})
117-
end,
114+
priority = 1000,
115+
config = true,
118116
}
119117
```
120118
- Add the following to your plugin list:
@@ -140,8 +138,13 @@ It is not recommended to use packer as it is now unmaintained.
140138
<summary>Click for installation snippet.</summary>
141139

142140
```lua
143-
use_rocks {
144-
"neorg",
141+
use {
142+
"nvim-neorg/neorg",
143+
rocks = { "lua-utils.nvim", "nvim-nio", "nui.nvim", "plenary.nvim" },
144+
tag = "*", -- Pin Neorg to the latest stable release
145+
config = function()
146+
require("neorg").setup()
147+
end,
145148
}
146149
```
147150

0 commit comments

Comments
 (0)