From 2b15ff9200dc0a5a4cc7d22bb0e0de4dbf2d943c Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Mon, 24 Jun 2024 17:48:32 +0200 Subject: [PATCH] docs: updated news --- docs/news.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/docs/news.md b/docs/news.md index bffa871..291bb7a 100644 --- a/docs/news.md +++ b/docs/news.md @@ -19,6 +19,33 @@ sidebar_position: 10 - **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) + 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: ```lua