New answers tagged vimscript-python
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 ...
Top 50 recent answers are included
Related Tags
vimscript-python × 95vimscript × 19
microsoft-windows × 14
neovim × 7
gvim × 6
plugin-system × 6
linux × 6
plugin-you-complete-me × 6
vimrc × 5
installing × 5
buffers × 4
plugin-ultisnips × 3
macos × 3
linux-ubuntu × 3
terminal × 2
error × 2
python × 2
compile-vim × 2
version × 2
linux-debian × 2
hidden-buffers × 2
async × 2
key-bindings × 1
regular-expression × 1
command-line × 1