docs: updated news

This commit is contained in:
Folke Lemaitre 2024-06-24 17:48:32 +02:00
parent ce19149eed
commit 2b15ff9200
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 27 additions and 0 deletions

View File

@ -19,6 +19,33 @@ sidebar_position: 10
- **Rockspec**: [luarocks](https://luarocks.org/) `*-scm-1.rockspec` [file](https://github.com/luarocks/luarocks/wiki/Rockspec-format) - **Rockspec**: [luarocks](https://luarocks.org/) `*-scm-1.rockspec` [file](https://github.com/luarocks/luarocks/wiki/Rockspec-format)
- **Packspec**: `pkg.json` (experimental, since the [format](https://github.com/neovim/packspec/issues/41) is not quite there yet) - **Packspec**: `pkg.json` (experimental, since the [format](https://github.com/neovim/packspec/issues/41) is not quite there yet)
Related _lazy.nvim_ options:
```lua
{
pkg = {
enabled = true,
cache = vim.fn.stdpath("state") .. "/lazy/pkg-cache.lua",
-- the first package source that is found for a plugin will be used.
sources = {
"lazy",
"rockspec",
"packspec",
},
},
rocks = {
root = vim.fn.stdpath("data") .. "/lazy-rocks",
server = "https://nvim-neorocks.github.io/rocks-binaries/",
},
}
```
- Installing [neorg](https://github.com/nvim-neorg/neorg) is now as simple as:
```lua
{ "nvim-neorg/neorg", opts = {} }
```
- Packages are not limited to just Neovim plugins. You can install any **luarocks** package, like: - Packages are not limited to just Neovim plugins. You can install any **luarocks** package, like:
```lua ```lua