bug: mutator/init.lua:557: bad argument #1 to 'next' (table expected, got function) #561
Closed
3 tasks done
Labels
bug
Something isn't working
Did you check the docs and existing issues?
Neovim version (nvim -v)
NVIM v0.11.0-dev-1417+g487c48ec86-Homebrew Build type: Release LuaJIT 2.1.1736781742 Run "nvim -V1 -v" for more info
Operating system/version
macOS 15.2
Describe the bug
When I was debugging, I encountered this issue.
oil.nvim/lua/oil/mutator/init.lua
Lines 556 to 559 in 09fa1d2
According to the Lua documentation (https://www.lua.org/pil/7.3.html), the 'pairs' function should return the 'next' argument as the first element, which is actually a function.
What is the severity of this bug?
breaking (some functionality is broken)
Steps To Reproduce
/abc
to trigger an error:w
Expected Behavior
No error
Directory structure
No response
Repro
Did you check the bug with a clean config?
nvim -u repro.lua
using the repro.lua file above.The text was updated successfully, but these errors were encountered: