Bug: undo after ClangFormat does undo twice, erasing previous changes
aravind2612krishna opened this issue ยท 9 comments
I think I have a local fix for this, can prepare a PR tomorrow. Would it be possible for you to try it out?
Least I can do. Thanks
@aravind2612krishna, while I still have issues in the test, it works for my normal vim/nvim instance. At your convenience, it would be valuable it you could try it out and see if the fix is also valid in your setup.
I tried with the plugin from 'Kypert/vim-clang-format', but similar behavior persists.
Interesting, just to make sure, did you use the fix branch:
Plug 'Kypert/vim-clang-format', { 'branch' : 'fix/issues/98' }
Apologies. It does work in that branch, I just tried.
Do you know why the undojoin is there?
Can this PR be accepted? I have this same issue with undos