Partial hunk staging doesn't work with nvim as EDITOR environment variable
nikita-talalai opened this issue · 0 comments
nikita-talalai commented
Step to reproduce:
- Set EDITOR=nvim
- In nvim run :G to open git status
- Press "P" mapping on unstaged file
- Choose to edit hunk
- Make changes and save
It doesn't return to previous buffer after saving and quitting (to continue processing other hunks). It returns to git status split with unapplied changes.
However, editing hunk with, for example, nano, is working as expected.