From 25eacdadfa7412cee80e1506836689941e0561a5 Mon Sep 17 00:00:00 2001 From: "Matthieu C." <886074+teto@users.noreply.github.com> Date: Sat, 29 Jun 2024 00:32:53 +0200 Subject: [PATCH 1/2] doc: introduce rocks.troubleshooting --- lua/rocks/config/init.lua | 7 +++++++ lua/rocks/operations/init.lua | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/lua/rocks/config/init.lua b/lua/rocks/config/init.lua index ee7c7359..a4a95e41 100644 --- a/lua/rocks/config/init.lua +++ b/lua/rocks/config/init.lua @@ -27,4 +27,11 @@ local config = {} ---@type RocksOpts | fun():RocksOpts vim.g.rocks_nvim = vim.g.rocks_nvim +---@tag rocks.troubleshooting +---@brief [[ +--- +---What to do when an installation fails ? +---1. fall back to https://github.com/nvim-neorocks/rocks-git.nvim (cons: doesn't list dependencies) +---2. Add the plugin to luarocks.org Date: Fri, 28 Jun 2024 22:34:01 +0000 Subject: [PATCH 2/2] docs(generated): update doc/rocks.txt skip-checks: true --- doc/rocks.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/rocks.txt b/doc/rocks.txt index 4d674d74..37759db3 100644 --- a/doc/rocks.txt +++ b/doc/rocks.txt @@ -71,6 +71,12 @@ RocksOpts *RocksOpts* {luarocks_config?} (string) Path to the luarocks config. If not set, rocks.nvim will create one in `rocks_path`. Warning: You should include the settings in the default luarocks-config.lua before overriding this. + *rocks.troubleshooting* + +What to do when an installation fails ? +1. fall back to https://github.com/nvim-neorocks/rocks-git.nvim (cons: doesn't list dependencies) +2. Add the plugin to luarocks.org