package-info.nvim
package-info.nvim copied to clipboard
[BUG] Error when diffing package.json
Issues
- [X] I have checked existing issues and there are no issues with the same problem.
Plugin Version
- [X] I am using the latest version of the plugin
Neovim Version
- [X] I am using the 0.6 neovim version or later
Neovim Version
NVIM v0.10.0-dev-2424c3e
Branch
master
Actual behavior
.
Expected behavior
.
Steps to reproduce
- Install
diffview.nvim - Run
DiffviewFileHistory - Press
tabuntil you come across apackage.jsondiff - Observe error:
04:27:15 msg_show E1510: Value too large:
Error 04:27:15 msg_show.emsg Error executing vim.schedule lua callback: d argument: expected valid directory
stack traceback:
[C]: in function 'jobstart'
...im/lazy/package-info.nvim/lua/package-info/utils/job.lua:40: in function 'job'
...lazy/package-info.nvim/lua/package-info/actions/show.lua:31: in function 'run'
...re/nvim/lazy/package-info.nvim/lua/package-info/init.lua:14: in function 'show'
[string ":lua"]:1: in main chunk
[C]: in function 'resume'
...cal/share/nvim/lazy/diffview.nvim/lua/diffview/async.lua:193: in function 'step'
...cal/share/nvim/lazy/diffview.nvim/lua/diffview/async.lua:247: in function 'notify_all'
...cal/share/nvim/lazy/diffview.nvim/lua/diffview/async.lua:222: in function 'step'
...cal/share/nvim/lazy/diffview.nvim/lua/diffview/async.lua:399: in function <...cal/share/nvim/lazy/diffview.nvim/lua/diffview/async.lua:391>
Package info config
Using default config.
Other information
The full path of the package.json as in the diff buffer is something like: diffview:///home/me/myproject/.git/c7d31eaa3c7/package.json.
Help
Yes, but I don't know how to start. I would need guidance (check question below)
Implementation help
No response
I just ran into this issue. Is there a workaround where you can disable this package when diffview is open?
I'm having the same issue while using octo.nvim. I'll report back if I find a good solution.