Issues
Plugin Version
Neovim Version
Neovim Version
v0.10.1
Branch
master
Actual behavior
It produces duplicate text and errors the following:

input table: 0x7e1f54e2ad80 ...lazy/package-info.nvim/lua/package-info/virtual_text.lua:49: attempt to concatenate field 'version' (a nil value)
stack traceback:
^I...lazy/package-info.nvim/lua/package-info/virtual_text.lua:49: in function '__display_on_line'
^I...lazy/package-info.nvim/lua/package-info/virtual_text.lua:82: in function 'display'
^I...lazy/package-info.nvim/lua/package-info/actions/show.lua:44: in function 'on_success'
^I...im/lazy/package-info.nvim/lua/package-info/utils/job.lua:52: in function <...im/lazy/package-info.nvim/lua/package-info/utils/job.lua:41>
^I[C]: at 0x5941d8c58200
^I[C]: in function 'pcall'
^I/usr/share/nvim/runtime/lua/vim/ui.lua:101: in function 'input'
^I...ocal/share/nvim/lazy/nvim-tree.lua/lua/nvim-tree/lib.lua:238: in function 'prompt'
^I...y/nvim-tree.lua/lua/nvim-tree/actions/fs/remove-file.lua:133: in function <...y/nvim-tree.lua/lua/nvim-tree/actions/fs/remove-file.lua:107>
[NvimTree] /home/origami/Dev/projects/team/mindsurf/apps/website/.wrangler was properly removed.
[NvimTree] /home/origami/Dev/projects/team/mindsurf/apps/website/migrations was properly removed.
...lazy/package-info.nvim/lua/package-info/virtual_text.lua:49: attempt to concatenate field 'version' (a nil value)
stack traceback:
^I...lazy/package-info.nvim/lua/package-info/virtual_text.lua:49: in function '__display_on_line'
^I...lazy/package-info.nvim/lua/package-info/virtual_text.lua:82: in function 'display'
^I...lazy/package-info.nvim/lua/package-info/actions/show.lua:44: in function 'on_success'
^I...im/lazy/package-info.nvim/lua/package-info/utils/job.lua:52: in function <...im/lazy/package-info.nvim/lua/package-info/utils/job.lua:41> function: builtin#18 ...lazy/package-info.nvim/l
ua/package-info/virtual_text.lua:49: attempt to concatenate field 'version' (a nil value)
stack traceback:
^I...lazy/package-info.nvim/lua/package-info/virtual_text.lua:49: in function '__display_on_line'
Expected behavior
No errors
Steps to reproduce
Open package.json then move to another buffer, reopen package.json
Package info config
I am using lazy.nvim with the following config:
{
"vuki656/package-info.nvim",
event = "BufRead package.json",
dependencies = { "MunifTanjim/nui.nvim" },
config = true,
},
Other information
No response
Help
Yes, but I don't know how to start. I would need guidance (check question below)
Implementation help
No response
Issues
Plugin Version
Neovim Version
Neovim Version
v0.10.1
Branch
master
Actual behavior
It produces duplicate text and errors the following:
Expected behavior
No errors
Steps to reproduce
Open package.json then move to another buffer, reopen package.json
Package info config
I am using lazy.nvim with the following config:
{ "vuki656/package-info.nvim", event = "BufRead package.json", dependencies = { "MunifTanjim/nui.nvim" }, config = true, },Other information
No response
Help
Yes, but I don't know how to start. I would need guidance (check question below)
Implementation help
No response