christoomey / vim-conflicted

Easy git merge conflict resolution in Vim
MIT License
271 stars 12 forks source link

Strange failure mode on GitNextUpdate from last file #29

Open JESii opened 1 year ago

JESii commented 1 year ago

I run my :Conflicted command, make changes, move to the next file with :GitNextConflict with no problem until I reach the last file. Then the next :GitNextConflict results in vim/neovim terminating with the following message:

Error detected while processing function <SNR>71_GitNextConflict[3]..<SNR>71_NextOrQuit[2]..<SNR>183_nvim_job_exit_wrapper[1]..gutentags#ctags#on_job_exit[1]..gutentags#remove_job_by_data[2]..gutentags#remove_job[22]..<SNR>183_update_tags[55]..function <SNR>71_GitNextConflict[3]..<SNR>71_NextOrQuit[2]..<SNR>183_nvim_job_exit_wrapper[1]..gutentags#ctags#on_job_exit[1]..gutentags#remove_job_by_data[2]..gutentags#remove_job[22]..<SNR>183_update_tags[44]..gutentags#ctags#generate[112]..<SNR>184_generate_wildignore_options:
line   26:
E482: Can't open file /var/folders/31/5hzdscvx19715k164wsn1ync0000gn/T/nvim.jseidel/RMyde9/2 for writing: no such file or directory
Error detected while processing function <SNR>71_GitNextConflict[3]..<SNR>71_NextOrQuit[2]..<SNR>183_nvim_job_exit_wrapper[1]..gutentags#ctags#on_job_exit[1]..gutentags#remove_job_by_data[2]..gutentags#remove_job:
line   22:
E171: Missing :endif

Fortunately, all the work appears to be properly handled so not a show-stopper... just "interesting". I recently updated all my plugins and I'm using NewVim 0.8.0 and vim: stable 9.0.1050

christoomey commented 1 year ago

Hmm, hard to say as it looks like a few things are overlapping here, but I do see some notes about gutentags Ctags generation in there. Perhaps try with gutentags disabled to see if that's the source of the issue?