Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

bug(plenary.nvim): Section bug

Abierto
#658 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
lua
Área
tooling

Línea de trabajo

Start by reproducing the gd failure in the neogit diff popup, then trace the nil section access in neogit/lua/neogit/popups/diff/init.lua through neogit/process.lua and plenary/lua/plenary/async/async.lua. Determine whether the incompatibility belongs to plenary or neogit, and confirm the diff popup no longer raises the reported error.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Error Message:

...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:18: The coroutine failed with this message: ...l/share/nvim/lazy/neogit/lua/neogit/popups/diff/init.lua:9: attempt to index field 'section' (a nil value)
stack traceback:
	[C]: in function 'error'
	...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:18: in function 'callback_or_next'
	...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:45: in function 'step'
	...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:48: in function 'execute'
	...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:118: in function 'callback'
	...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:25: in function 'callback_or_next'
	...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:45: in function 'saved_callback'
	...are/nvim/lazy/plenary.nvim/lua/plenary/async/control.lua:126: in function 'tx'
	.../share/nvim/lazy/plenary.nvim/lua/plenary/async/util.lua:71: in function 'callback'
	...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:25: in function 'callback_or_next'
	...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:45: in function 'cb'
	...rne/.local/share/nvim/lazy/neogit/lua/neogit/process.lua:361: in function <...rne/.local/share/nvim/lazy/neogit/lua/neogit/process.lua:315> function: builtin#18 ...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:18: The coroutine failed with this message: ...l/share/nvim/lazy/neogit/lua/neogit/popups/diff/init.lua:9: attempt to index field 'section' (a nil value)
stack traceback:
	[C]: in function 'error'
	...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:18: in function 'callback_or_next'
	...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:45: in function 'step'
	...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:48: in function 'execute'
	...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:118: in function 'callback'
	...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:25: in function 'callback_or_next'
	...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:45: in function 'saved_callback'
	...are/nvim/lazy/plenary.nvim/lua/plenary/async/control.lua:126: in function 'tx'
	.../share/nvim/lazy/plenary.nvim/lua/plenary/async/util.lua:71: in function 'callback'
	...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:25: in function 'callback_or_next'
	...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:45: in function 'cb'
	...rne/.local/share/nvim/lazy/neogit/lua/neogit/process.lua:361: in function <...rne/.local/share/nvim/lazy/neogit/lua/neogit/process.lua:315>

How the error occured:
I was using the neogit plugin, and used the keybind 'gd' which should've opened the difference popup specific to that plugin, it's meant to mimick that functionality of the git command 'git diff'. Just to give context.

Thoughts:
I'm unsure whether this is a Neovim v0.11.1 issue, but I've never seen this issue before, and I believe it to be a compatibility issue with the aforementioned plugin.

Why place issue here and not on the 'neogit.nvim' repo?:
I don't know really to be completely honest. When looking at the paths displayed within the error, they point to plenary.nvim, not anything got to do with the neogit plugin. Or could possibly be due to an update with plenary that neogit itself must cater for instead.

Lenguaje dominante
Lua
Estrellas
3.5k
Forks
340
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Aún no hemos revisado los archivos de configuración de este proyecto. Empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de nvim-lua/plenary.nvim

Todos los issues de nvim-lua/plenary.nvim

Issues similares

Más issues de Lua

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.