Save buffer before clang format

This commit is contained in:
doyle 2020-11-26 09:47:32 +11:00
parent cd5c437d57
commit 16baef7e5e

View File

@ -259,7 +259,7 @@ let g:clang_format#style_options = {
\ "TabWidth": 4,
\ }
map <C-I> <C-v>:ClangFormat<CR>
map <C-I> :update<CR><C-v>:ClangFormat<CR>
" ==============================================================================
" Compiling / AsyncRun