Start on current change

Abierto
#288 1 comentario 1 reacción 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
Medio día
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
lua, neovim
Área
tooling

Línea de trabajo

The payload names no files. Start from the plugin's [c and ]c mappings and the jump_to_first_change option in the Lua source, then trace how the current hunk is chosen when that option is false. Reproduce with a diff containing several hunks: set jump_to_first_change = false, place the cursor in a later hunk, and check whether [c/]c move relative to it or restart from the first hunk. Done means navigation begins at the current hunk while preserving the option's behavior.

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

Descripción

If jump_to_first_change is false it should start on the current hunk but [c and ]c don't start moving from that hunk it starts from the first hunk in the file.

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

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: 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 esmuellert/codediff.nvim

Todos los issues de esmuellert/codediff.nvim

Issues similares

Más issues de Lua

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.