Use built-in clang-format.py

This commit is contained in:
Anthony Rose 2023-05-18 21:16:49 +01:00
parent abd530fa83
commit 3454e39611

2
vimrc
View file

@ -50,7 +50,7 @@ nnoremap <F2> :call ACPActodoTodo()<CR>
nnoremap <F3> :NERDTreeToggle<CR>
nnoremap <F4> :vsplit<CR>
nnoremap <F7> :call ACPToggleSpellEnUs()<CR>
nnoremap <F9> :%!clang-format --style=file<CR>
nnoremap <F9> :py3file /usr/share/clang/clang-format-*/clang-format.py<CR>
nnoremap <S-F11> :call ACPToggleMargins()<CR>
nnoremap <S-F2> :call ACPAdocTodo()<CR>
nnoremap <S-F4> :split<CR>