This repository was archived by the owner on Oct 7, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
This repository was archived by the owner on Oct 7, 2025. It is now read-only.
[Bug]: :Patchr {reset|apply} {plugin} fails #4
Copy link
Copy link
Open
Description
Without {plugin} arg both reset and apply works okay, but with {plugin} arg they both fail:
reset:
Error executing Lua callback: ...ocal/share/nvim/lazy/patchr.nvim/lua/patchr/patching.lua:13: bad ar
gument #1 to 'ipairs' (table expected, got string)
stack traceback:
[C]: in function 'ipairs'
...ocal/share/nvim/lazy/patchr.nvim/lua/patchr/patching.lua:13: in function 'reset_plugin_re
positories'
...an/.local/share/nvim/lazy/patchr.nvim/lua/patchr/cmd.lua:10: in function 'reset'
...an/.local/share/nvim/lazy/patchr.nvim/lua/patchr/cmd.lua:38: in function 'handle'
...n/.local/share/nvim/lazy/patchr.nvim/lua/patchr/init.lua:6: in function <...n/.local/shar
e/nvim/lazy/patchr.nvim/lua/patchr/init.lua:5>
apply:
Error executing Lua callback: ...ocal/share/nvim/lazy/patchr.nvim/lua/patchr/patching.lua:61: bad ar
gument #1 to 'ipairs' (table expected, got string)
stack traceback:
[C]: in function 'ipairs'
...ocal/share/nvim/lazy/patchr.nvim/lua/patchr/patching.lua:61: in function 'apply_patches'
...an/.local/share/nvim/lazy/patchr.nvim/lua/patchr/cmd.lua:18: in function 'apply'
...an/.local/share/nvim/lazy/patchr.nvim/lua/patchr/cmd.lua:40: in function 'handle'
...n/.local/share/nvim/lazy/patchr.nvim/lua/patchr/init.lua:6: in function <...n/.local/shar
e/nvim/lazy/patchr.nvim/lua/patchr/init.lua:5>
Metadata
Metadata
Assignees
Labels
No labels