New answers tagged

1 vote

Solving issue with clang-format-vim.py saving new buffer

I don't know why the ClangFormat documentation recommends that approach, but it just makes things difficult. You just need to set formatprg in ~/.vim/after/ftplugin/cpp.vim as follows: setlocal ...
user avatar
  • 412

Top 50 recent answers are included