Linda_pp
Linda_pp
vim-codefmt also overwrites entire buffer with formatted output. So I don't know what causes the performance issue on your environment. https://github.com/google/vim-codefmt/blob/master/autoload/codefmt/clangformat.vim#L121 Please let me know the pre-condition (OS, Vim version)...
Please give me the information which enables me to reproduce the problem. At least in my environment it looks working.
@bgrabow I could reproduce and addressed this issue. Could you confirm the latest?
I couldn't reproduce the issue. It works with a buffer containing two newlines only. What version clang-format are you using? My clang-format is 4.0.0.
Hi @krux02. Great catch! I couldn't notice that because I don't use marks. I'll reproduce the bug and consider the way to avoid.
Thank you for your report, @bear24rw. Actually, I've already noticed this issue but I don't know a way to fix. I still investigate the way. `:keepjump` can avoid modifying jumplist,...
It seems that undo information moves cursor. I've found `:GoFmt` has the same issue. `:undojoin` doesn't seem to help this issue solve...
I investigated the way not to move a cursor at undo but I couldn't... I'll remain this issue open. If anyone knows how to fix this issue, please let me...
Oh, it sounds great! I'll check the issue later. Thank you for the information.
The commits for the solution in vim-go are [8f86bbce](https://github.com/fatih/vim-go/commit/8f86bbce5b2da6717573c5c559236cf42f6292ab) and [c58d85b5](https://github.com/fatih/vim-go/commit/c58d85b58c6cc97816d1d795886412706c94b4f6), right?