From 170a4ea8d00967e0878147a4aaa0b1d3b89e2a83 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 25 Jun 2024 05:58:09 +0000 Subject: [PATCH] chore(build): auto-generate docs --- README.vim.md | 6 ++++-- doc/lazy.nvim.txt | 6 ++++-- docs/configuration/index.md | 6 ++---- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/README.vim.md b/README.vim.md index da061f3..b2879c9 100644 --- a/README.vim.md +++ b/README.vim.md @@ -525,17 +525,19 @@ with a lazy extension in `lazy`. pkg = { enabled = true, cache = vim.fn.stdpath("state") .. "/lazy/pkg-cache.lua", - versions = true, -- Honor versions in pkg sources -- the first package source that is found for a plugin will be used. sources = { "lazy", - "rockspec", + "rockspec", -- will only be used when rocks.enabled is true "packspec", }, }, rocks = { + enabled = true, root = vim.fn.stdpath("data") .. "/lazy-rocks", server = "https://nvim-neorocks.github.io/rocks-binaries/", + -- use hererocks to install luarocks. + hererocks = vim.fn.executable("luarocks") == 0, }, dev = { ---@type string | fun(plugin: LazyPlugin): string directory where you store your local plugin projects diff --git a/doc/lazy.nvim.txt b/doc/lazy.nvim.txt index e88747b..64dac25 100644 --- a/doc/lazy.nvim.txt +++ b/doc/lazy.nvim.txt @@ -624,17 +624,19 @@ will be added to the plugin’s spec. pkg = { enabled = true, cache = vim.fn.stdpath("state") .. "/lazy/pkg-cache.lua", - versions = true, -- Honor versions in pkg sources -- the first package source that is found for a plugin will be used. sources = { "lazy", - "rockspec", + "rockspec", -- will only be used when rocks.enabled is true "packspec", }, }, rocks = { + enabled = true, root = vim.fn.stdpath("data") .. "/lazy-rocks", server = "https://nvim-neorocks.github.io/rocks-binaries/", + -- use hererocks to install luarocks. + hererocks = vim.fn.executable("luarocks") == 0, }, dev = { ---@type string | fun(plugin: LazyPlugin): string directory where you store your local plugin projects diff --git a/docs/configuration/index.md b/docs/configuration/index.md index b9112f0..d80bb58 100644 --- a/docs/configuration/index.md +++ b/docs/configuration/index.md @@ -42,19 +42,17 @@ sidebar_position: 5 pkg = { enabled = true, cache = vim.fn.stdpath("state") .. "/lazy/pkg-cache.lua", + versions = true, -- Honor versions in pkg sources -- the first package source that is found for a plugin will be used. sources = { "lazy", - "rockspec", -- will only be used when rocks.enabled is true + "rockspec", "packspec", }, }, rocks = { - enabled = true, root = vim.fn.stdpath("data") .. "/lazy-rocks", server = "https://nvim-neorocks.github.io/rocks-binaries/", - -- use hererocks to install luarocks. - hererocks = vim.fn.executable("luarocks") == 0, }, dev = { ---@type string | fun(plugin: LazyPlugin): string directory where you store your local plugin projects