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:
parent
43b72d36dd
commit
f5f70bfc07
|
@ -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'],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user