Start on current change

Aperta
#288 1 commento 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
lua, neovim
Ambito
tooling

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Lua
Stelle
1.6k
Fork
104
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di esmuellert/codediff.nvim

Tutte le issue di esmuellert/codediff.nvim

Issue simili

Altre issue su Lua

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.