vim-clang-format
vim-clang-format copied to clipboard
Last commits screwed up input
Since the last bunch of commits the system has become unstable on clangformat 3.4 3.5 on linux. I had to revert to an earlier commit 009df097b1952f28a88087c7602fd13a23c44c29 to get a working system again. Hope this helps
@dirvine Thank you for your report. I reverted the commit as a first aid in cd4e2e4ff7dec827b71924ad20a54ef7cd2f8d45. Please check the problem is fixed in cd4e2e4ff7dec827b71924ad20a54ef7cd2f8d45.
Then I'll investigate a cause of this issue. Could you show me your vim-clang-format configuration in your .vimrc and the output of $ clang-format -version?
No problem, thanks, that does work. I will try my other machine at work later on as well to check.
~/Devel/MaidSafe/buildclang [next] $ clang-format-3.5 --version
Ubuntu clang-format version 3.5.0-svn213068-1~exp1 (trunk) (based on LLVM 3.5.0)
################vimrc####################
call vam#ActivateAddons(['github:rhysd/vim-clang-format'])
let g:clang_format#auto_format = 0
let g:clang_format#auto_format_on_insert_leave = 0
" map to <Leader>cf in C++ code
autocmd FileType c,cpp,objc nnoremap
############################