Compare commits

..

No commits in common. "main" and "v11.17.3" have entirely different histories.

8 changed files with 213 additions and 426 deletions

View File

@ -1,3 +1,3 @@
{
".": "11.17.5"
".": "11.17.3"
}

View File

@ -9,11 +9,11 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/main' && github.repository_owner == 'folke' }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v4
- uses: folke/github/neovim@main
- name: Rockspec Build
id: rockspec-build
uses: actions/cache@v5
uses: actions/cache@v4
with:
path: build
key: rockspec-build
@ -22,7 +22,7 @@ jobs:
run: |
nvim -l lua/lazy/build.lua
- name: Push changes
uses: stefanzweifel/git-auto-commit-action@v7
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore(build): auto-generate rockspec mappings"
commit_user_name: "github-actions[bot]"

View File

@ -11,7 +11,7 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v4
with:
ref: docs
- name: Generate Docs

View File

@ -1,19 +1,5 @@
# Changelog
## [11.17.5](https://github.com/folke/lazy.nvim/compare/v11.17.4...v11.17.5) (2025-11-06)
### Bug Fixes
* **luarocks:** proper parsing of dependency name. Closes [#2086](https://github.com/folke/lazy.nvim/issues/2086) ([5c09e6f](https://github.com/folke/lazy.nvim/commit/5c09e6fe71f4bb930eeffe24d45762fa3ffada4e))
## [11.17.4](https://github.com/folke/lazy.nvim/compare/v11.17.3...v11.17.4) (2025-11-04)
### Bug Fixes
* **plugin:** proper error message when a plugin spec returns more than one value. ([dfdc85e](https://github.com/folke/lazy.nvim/commit/dfdc85e18930a3f1643e83c8ed0c514ca85e49fa))
## [11.17.3](https://github.com/folke/lazy.nvim/compare/v11.17.2...v11.17.3) (2025-10-28)

File diff suppressed because it is too large Load Diff

View File

@ -242,7 +242,7 @@ function M.hererocks()
return M.options.rocks.hererocks
end
M.version = "11.17.5" -- x-release-please-version
M.version = "11.17.3" -- x-release-please-version
M.ns = vim.api.nvim_create_namespace("lazy")

View File

@ -156,11 +156,7 @@ function Spec:import(spec)
load = function()
local mod, err = loadfile(modpath)
if mod then
local ret, foo = mod()
if foo then
return nil, "Spec module returned more than one value. Expected a single value."
end
return ret
return mod()
else
return nil, err
end

View File

@ -285,10 +285,7 @@ function M.get(plugin)
---@param dep string
local rocks = vim.tbl_filter(function(dep)
local name = dep:match("^%s*([^~><=%s]+)")
if not name then
return false
end
local name = dep:gsub("%s.*", "")
local url = Community.get_url(name)
local spec = Community.get_spec(name)