Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Error when diffing package.json #151

Open
3 tasks done
thenbe opened this issue Apr 1, 2024 · 0 comments
Open
3 tasks done

[BUG] Error when diffing package.json #151

thenbe opened this issue Apr 1, 2024 · 0 comments
Labels
🐛 Bug Something isn't working

Comments

@thenbe
Copy link

thenbe commented Apr 1, 2024

Issues

  • I have checked existing issues and there are no issues with the same problem.

Plugin Version

  • I am using the latest version of the plugin

Neovim Version

  • 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

  1. Install diffview.nvim
  2. Run DiffviewFileHistory
  3. Press tab until you come across a package.json diff
  4. 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

@thenbe thenbe added the 🐛 Bug Something isn't working label Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant