1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-24 20:41:31 +01:00

vim: add clang-format as a C fixer

This commit is contained in:
bretello 2021-03-08 09:57:57 +01:00
parent 43b72d36dd
commit f5f70bfc07
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -7,6 +7,7 @@ let g:ale_fixers = {
\ '*': ['remove_trailing_lines', 'trim_whitespace'], \ '*': ['remove_trailing_lines', 'trim_whitespace'],
\ 'bash': ['shfmt'], \ 'bash': ['shfmt'],
\ 'json': ['prettier'], \ 'json': ['prettier'],
\ 'c': ['clang-format'],
\ 'cpp': ['clang-format'], \ 'cpp': ['clang-format'],
\ 'css': ['prettier'], \ 'css': ['prettier'],
\ 'html': ['prettier'], \ 'html': ['prettier'],